pub enum UserNameFormat {
UserPrincipalName,
DownLevelLogonName,
}Expand description
Enumeration of the supported User Name Formats.
Variants§
UserPrincipalName
User principal name (UPN) format is used to specify an Internet-style name, such as UserName@Example.Microsoft.com.
DownLevelLogonName
The down-level logon name format is used to specify a domain and a user account in that domain, for example, DOMAIN\UserName.
Trait Implementations§
Source§impl Clone for UserNameFormat
impl Clone for UserNameFormat
Source§fn clone(&self) -> UserNameFormat
fn clone(&self) -> UserNameFormat
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 UserNameFormat
impl Debug for UserNameFormat
Source§impl PartialEq for UserNameFormat
impl PartialEq for UserNameFormat
impl Copy for UserNameFormat
impl Eq for UserNameFormat
impl StructuralPartialEq for UserNameFormat
Auto Trait Implementations§
impl Freeze for UserNameFormat
impl RefUnwindSafe for UserNameFormat
impl Send for UserNameFormat
impl Sync for UserNameFormat
impl Unpin for UserNameFormat
impl UnsafeUnpin for UserNameFormat
impl UnwindSafe for UserNameFormat
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