pub struct ItemID(pub u64);Expand description
Represents a unique identifier for an individual item or element.
ItemID allows for the differentiation and management of individual configuration items
within the storage or a group. Each item, whether it’s a variable, property, or another
entity, is assigned a unique ID for precise operations and management.
The From trait support ensures that ItemID can be easily constructed from other relevant
types.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for ItemID
impl<'de> Deserialize<'de> for ItemID
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
Source§impl Ord for ItemID
impl Ord for ItemID
Source§impl PartialOrd for ItemID
impl PartialOrd for ItemID
impl Copy for ItemID
impl Eq for ItemID
impl StructuralPartialEq for ItemID
Auto Trait Implementations§
impl Freeze for ItemID
impl RefUnwindSafe for ItemID
impl Send for ItemID
impl Sync for ItemID
impl Unpin for ItemID
impl UnwindSafe for ItemID
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Entity for T
impl<T> Entity for T
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn deserialize(&mut self, de: &mut dyn Deserializer<'_>) -> Result<(), Error>
fn as_serialize(&self) -> &dyn Serialize
fn duplicated(&self) -> Arc<dyn Entity>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Serialize for T
impl<T> Serialize for T
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<(), Error>
fn do_erased_serialize( &self, serializer: &mut dyn Serializer, ) -> Result<(), ErrorImpl>
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more