pub struct ConductorUser {
pub id: String,
pub name: Option<String>,
pub email: Option<String>,
pub roles: Vec<Role>,
pub groups: Vec<Group>,
pub application_user: bool,
}Expand description
Conductor user.
Fields§
§id: StringUser ID.
name: Option<String>User name.
email: Option<String>User email.
roles: Vec<Role>Roles assigned to the user.
groups: Vec<Group>Groups the user belongs to.
application_user: boolIs application user.
Trait Implementations§
Source§impl Clone for ConductorUser
impl Clone for ConductorUser
Source§impl Debug for ConductorUser
impl Debug for ConductorUser
Source§impl Default for ConductorUser
impl Default for ConductorUser
Source§impl<'de> Deserialize<'de> for ConductorUser
impl<'de> Deserialize<'de> for ConductorUser
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
Auto Trait Implementations§
impl Freeze for ConductorUser
impl RefUnwindSafe for ConductorUser
impl Send for ConductorUser
impl Sync for ConductorUser
impl Unpin for ConductorUser
impl UnsafeUnpin for ConductorUser
impl UnwindSafe for ConductorUser
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