pub struct GlobalPrincipalIdentifier(pub NonZeroU64);Expand description
Unique principal identifier across the whole system.
Tuple Fields§
§0: NonZeroU64Implementations§
Source§impl GlobalPrincipalIdentifier
impl GlobalPrincipalIdentifier
Sourcepub fn new_for_test(value: u64) -> Self
pub fn new_for_test(value: u64) -> Self
Should only be generated by a GlobalPrincipalIdentifierFactory except for tests.
Trait Implementations§
Source§impl Clone for GlobalPrincipalIdentifier
impl Clone for GlobalPrincipalIdentifier
Source§fn clone(&self) -> GlobalPrincipalIdentifier
fn clone(&self) -> GlobalPrincipalIdentifier
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 GlobalPrincipalIdentifier
impl Debug for GlobalPrincipalIdentifier
Source§impl From<PrincipalIdentifier> for GlobalPrincipalIdentifier
impl From<PrincipalIdentifier> for GlobalPrincipalIdentifier
Source§fn from(value: PrincipalIdentifier) -> Self
fn from(value: PrincipalIdentifier) -> Self
Converts to this type from the input type.
Source§impl Hash for GlobalPrincipalIdentifier
impl Hash for GlobalPrincipalIdentifier
Source§impl Into<PrincipalIdentifier> for GlobalPrincipalIdentifier
impl Into<PrincipalIdentifier> for GlobalPrincipalIdentifier
Source§fn into(self) -> PrincipalIdentifier
fn into(self) -> PrincipalIdentifier
Converts this type into the (usually inferred) input type.
impl Copy for GlobalPrincipalIdentifier
impl Eq for GlobalPrincipalIdentifier
impl StructuralPartialEq for GlobalPrincipalIdentifier
Auto Trait Implementations§
impl Freeze for GlobalPrincipalIdentifier
impl RefUnwindSafe for GlobalPrincipalIdentifier
impl Send for GlobalPrincipalIdentifier
impl Sync for GlobalPrincipalIdentifier
impl Unpin for GlobalPrincipalIdentifier
impl UnsafeUnpin for GlobalPrincipalIdentifier
impl UnwindSafe for GlobalPrincipalIdentifier
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