pub struct ObjectIdentifier {
pub object_type: ObjectType,
pub instance: u32,
}Expand description
Object identifier (type + instance number)
Fields§
§object_type: ObjectType§instance: u32Implementations§
Trait Implementations§
Source§impl Clone for ObjectIdentifier
impl Clone for ObjectIdentifier
Source§fn clone(&self) -> ObjectIdentifier
fn clone(&self) -> ObjectIdentifier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ObjectIdentifier
Source§impl Debug for ObjectIdentifier
impl Debug for ObjectIdentifier
Source§impl<'de> Deserialize<'de> for ObjectIdentifier
impl<'de> Deserialize<'de> for ObjectIdentifier
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ObjectIdentifier
Source§impl From<u32> for ObjectIdentifier
impl From<u32> for ObjectIdentifier
Source§impl Hash for ObjectIdentifier
impl Hash for ObjectIdentifier
Source§impl PartialEq for ObjectIdentifier
impl PartialEq for ObjectIdentifier
Source§fn eq(&self, other: &ObjectIdentifier) -> bool
fn eq(&self, other: &ObjectIdentifier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ObjectIdentifier
impl Serialize for ObjectIdentifier
impl StructuralPartialEq for ObjectIdentifier
Source§impl TryFrom<ObjectIdentifier> for u32
impl TryFrom<ObjectIdentifier> for u32
Source§type Error = EncodingError
type Error = EncodingError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ObjectIdentifier
impl RefUnwindSafe for ObjectIdentifier
impl Send for ObjectIdentifier
impl Sync for ObjectIdentifier
impl Unpin for ObjectIdentifier
impl UnsafeUnpin for ObjectIdentifier
impl UnwindSafe for ObjectIdentifier
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