pub struct Guid {
pub prefix: GuidPrefix,
pub entity_id: EntityId,
}Expand description
Guid: GuidPrefix + EntityId = 16 bytes. Globally unique identifier
of an endpoint.
Fields§
§prefix: GuidPrefixParticipant prefix.
entity_id: EntityIdEndpoint identifier within the participant.
Implementations§
Trait Implementations§
impl Copy for Guid
impl Eq for Guid
Source§impl Ord for Guid
impl Ord for Guid
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Guid
impl PartialOrd for Guid
impl StructuralPartialEq for Guid
Auto Trait Implementations§
impl Freeze for Guid
impl RefUnwindSafe for Guid
impl Send for Guid
impl Sync for Guid
impl Unpin for Guid
impl UnsafeUnpin for Guid
impl UnwindSafe for Guid
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