Struct kanidm_proto::v1::UnixUserToken
source · pub struct UnixUserToken {
pub name: String,
pub spn: String,
pub displayname: String,
pub gidnumber: u32,
pub uuid: Uuid,
pub shell: Option<String>,
pub groups: Vec<UnixGroupToken>,
pub sshkeys: Vec<PublicKey>,
pub valid: bool,
}
Expand description
A token representing the details of a unix user
Fields§
§name: String
§spn: String
§displayname: String
§gidnumber: u32
§uuid: Uuid
§shell: Option<String>
§groups: Vec<UnixGroupToken>
§sshkeys: Vec<PublicKey>
§valid: bool
Trait Implementations§
source§impl Clone for UnixUserToken
impl Clone for UnixUserToken
source§fn clone(&self) -> UnixUserToken
fn clone(&self) -> UnixUserToken
Returns a copy 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 UnixUserToken
impl Debug for UnixUserToken
source§impl<'de> Deserialize<'de> for UnixUserToken
impl<'de> Deserialize<'de> for UnixUserToken
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
source§impl Display for UnixUserToken
impl Display for UnixUserToken
source§impl Serialize for UnixUserToken
impl Serialize for UnixUserToken
Auto Trait Implementations§
impl Freeze for UnixUserToken
impl RefUnwindSafe for UnixUserToken
impl Send for UnixUserToken
impl Sync for UnixUserToken
impl Unpin for UnixUserToken
impl UnwindSafe for UnixUserToken
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)