#[non_exhaustive]pub enum SidNameUse {
User,
Group,
Domain,
Alias,
WellKnownGroup,
DeletedAccount,
Invalid,
Unknown,
Computer,
Label,
LogonSession,
}Expand description
Classification returned by Windows account-name lookup.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
User
User account.
Group
Group account.
Domain
Domain account.
Alias
Local alias.
WellKnownGroup
Well-known group.
DeletedAccount
Deleted account.
Invalid
Invalid SID type.
Unknown
Unrecognized SID type.
Computer
Computer account.
Label
Integrity label.
LogonSession
Logon session.
Trait Implementations§
Source§impl Clone for SidNameUse
impl Clone for SidNameUse
Source§fn clone(&self) -> SidNameUse
fn clone(&self) -> SidNameUse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SidNameUse
Source§impl Debug for SidNameUse
impl Debug for SidNameUse
Source§impl<'de> Deserialize<'de> for SidNameUse
impl<'de> Deserialize<'de> for SidNameUse
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
impl Eq for SidNameUse
Source§impl PartialEq for SidNameUse
impl PartialEq for SidNameUse
Source§impl Serialize for SidNameUse
impl Serialize for SidNameUse
impl StructuralPartialEq for SidNameUse
Auto Trait Implementations§
impl Freeze for SidNameUse
impl RefUnwindSafe for SidNameUse
impl Send for SidNameUse
impl Sync for SidNameUse
impl Unpin for SidNameUse
impl UnsafeUnpin for SidNameUse
impl UnwindSafe for SidNameUse
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more