pub struct OutputUser {Show 20 fields
pub _id: String,
pub _created_by: String,
pub _created_at: i64,
pub _updated_by: Option<Option<String>>,
pub _updated_at: Option<Option<i64>>,
pub login: String,
pub name: String,
pub email: Option<Option<String>>,
pub has_key: bool,
pub has_password: bool,
pub has_mfa: bool,
pub locked: bool,
pub profile: String,
pub organisation: String,
pub type: String,
pub permissions: Option<Option<Vec<String>>>,
pub avatar: Option<Option<String>>,
pub organisations: Option<Option<Vec<OutputOrganisationProfile>>>,
pub default_organisation: Option<Option<String>>,
pub extra_data: HashMap<String, Value>,
}Fields§
§_id: String§_created_by: String§_created_at: i64§_updated_by: Option<Option<String>>§_updated_at: Option<Option<i64>>§login: String§name: String§email: Option<Option<String>>§has_key: bool§has_password: bool§has_mfa: bool§locked: bool§profile: String§organisation: String§type: String§permissions: Option<Option<Vec<String>>>§avatar: Option<Option<String>>§organisations: Option<Option<Vec<OutputOrganisationProfile>>>§default_organisation: Option<Option<String>>§extra_data: HashMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for OutputUser
impl Clone for OutputUser
Source§fn clone(&self) -> OutputUser
fn clone(&self) -> OutputUser
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 OutputUser
impl Debug for OutputUser
Source§impl Default for OutputUser
impl Default for OutputUser
Source§fn default() -> OutputUser
fn default() -> OutputUser
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OutputUser
impl<'de> Deserialize<'de> for OutputUser
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 PartialEq for OutputUser
impl PartialEq for OutputUser
Source§impl Serialize for OutputUser
impl Serialize for OutputUser
impl StructuralPartialEq for OutputUser
Auto Trait Implementations§
impl Freeze for OutputUser
impl RefUnwindSafe for OutputUser
impl Send for OutputUser
impl Sync for OutputUser
impl Unpin for OutputUser
impl UnwindSafe for OutputUser
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