pub struct IdentifierAuthority(/* private fields */);Expand description
A type representing the first value after the SID version.
The value is a single 48 bit integer. Almost all SIDs encoutered “in the wild” will be less than u32.
§Panics
Converting to u64 is infallible, however, converting to u32 may panic if the value exceeds 2^32.
Trait Implementations§
Source§impl Clone for IdentifierAuthority
impl Clone for IdentifierAuthority
Source§fn clone(&self) -> IdentifierAuthority
fn clone(&self) -> IdentifierAuthority
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 IdentifierAuthority
impl Debug for IdentifierAuthority
Source§impl Display for IdentifierAuthority
impl Display for IdentifierAuthority
Source§impl From<IdentifierAuthority> for u64
impl From<IdentifierAuthority> for u64
Source§fn from(value: IdentifierAuthority) -> Self
fn from(value: IdentifierAuthority) -> Self
Converts to this type from the input type.
Source§impl From<u32> for IdentifierAuthority
impl From<u32> for IdentifierAuthority
Source§impl FromStr for IdentifierAuthority
impl FromStr for IdentifierAuthority
Source§impl Hash for IdentifierAuthority
impl Hash for IdentifierAuthority
Source§impl Ord for IdentifierAuthority
impl Ord for IdentifierAuthority
Source§fn cmp(&self, other: &IdentifierAuthority) -> Ordering
fn cmp(&self, other: &IdentifierAuthority) -> Ordering
1.21.0 · 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 PartialEq for IdentifierAuthority
impl PartialEq for IdentifierAuthority
Source§impl PartialOrd for IdentifierAuthority
impl PartialOrd for IdentifierAuthority
impl Eq for IdentifierAuthority
impl StructuralPartialEq for IdentifierAuthority
Auto Trait Implementations§
impl Freeze for IdentifierAuthority
impl RefUnwindSafe for IdentifierAuthority
impl Send for IdentifierAuthority
impl Sync for IdentifierAuthority
impl Unpin for IdentifierAuthority
impl UnwindSafe for IdentifierAuthority
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