pub struct ServiceInstanceId { /* private fields */ }Expand description
Identifies a specific service instance on the provider.
In SLE, service instances are identified by an Object Identifier
(OID) path like sagr=1.spack=1.rsl-fg=1.raf=onlt1.
We store the raw bytes of the BER-encoded identifier.
Implementations§
Source§impl ServiceInstanceId
impl ServiceInstanceId
Sourcepub fn from_bytes(data: &[u8]) -> Result<Self, SleError>
pub fn from_bytes(data: &[u8]) -> Result<Self, SleError>
Creates a new ServiceInstanceId from raw bytes.
Trait Implementations§
Source§impl Clone for ServiceInstanceId
impl Clone for ServiceInstanceId
Source§fn clone(&self) -> ServiceInstanceId
fn clone(&self) -> ServiceInstanceId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServiceInstanceId
impl Debug for ServiceInstanceId
Source§impl PartialEq for ServiceInstanceId
impl PartialEq for ServiceInstanceId
impl Eq for ServiceInstanceId
impl StructuralPartialEq for ServiceInstanceId
Auto Trait Implementations§
impl Freeze for ServiceInstanceId
impl RefUnwindSafe for ServiceInstanceId
impl Send for ServiceInstanceId
impl Sync for ServiceInstanceId
impl Unpin for ServiceInstanceId
impl UnsafeUnpin for ServiceInstanceId
impl UnwindSafe for ServiceInstanceId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more