pub struct GroupID(pub u64);Expand description
Represents a unique identifier for a group within the storage.
GroupID is primarily used to track, manage, and differentiate between different
configuration sets registered in storage. Each group is assigned a unique ID, ensuring
accurate management and operations upon it.
This ID type also supports the From trait, which allows seamless conversion from certain
other types.
Tuple Fields§
§0: u64Trait Implementations§
source§impl<'de> Deserialize<'de> for GroupID
impl<'de> Deserialize<'de> for GroupID
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 GroupID
impl Ord for GroupID
source§impl PartialEq<GroupID> for GroupID
impl PartialEq<GroupID> for GroupID
source§impl PartialOrd<GroupID> for GroupID
impl PartialOrd<GroupID> for GroupID
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for GroupID
impl Eq for GroupID
impl StructuralEq for GroupID
impl StructuralPartialEq for GroupID
Auto Trait Implementations§
impl RefUnwindSafe for GroupID
impl Send for GroupID
impl Sync for GroupID
impl Unpin for GroupID
impl UnwindSafe for GroupID
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> Entity for Twhere
T: Send + Sync + Any + Serialize + DeserializeOwned + Clone + 'static,
impl<T> Entity for Twhere T: Send + Sync + Any + Serialize + DeserializeOwned + Clone + 'static,
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, Global>
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 Twhere
T: Serialize + ?Sized,
impl<T> Serialize for Twhere T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
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