pub struct ExtendedUser {Show 25 fields
pub id: Option<String>,
pub org_id: Option<String>,
pub server_id: Option<String>,
pub email: Option<String>,
pub autoalert: Option<bool>,
pub authkey: Option<Option<String>>,
pub invited_by: Option<String>,
pub gpgkey: Option<Option<String>>,
pub certif_public: Option<Option<String>>,
pub nids_sid: Option<String>,
pub termsaccepted: Option<bool>,
pub newsread: Option<String>,
pub role_id: Option<String>,
pub change_pw: Option<ChangePw>,
pub contactalert: Option<bool>,
pub disabled: Option<bool>,
pub expiration: Option<Option<String>>,
pub current_login: Option<String>,
pub last_login: Option<String>,
pub force_logout: Option<bool>,
pub date_created: Option<String>,
pub date_modified: Option<String>,
pub user: Option<Box<User>>,
pub role: Option<Box<Role>>,
pub user_setting: Option<Box<ViewUserSettings>>,
}
Fields§
§id: Option<String>
§org_id: Option<String>
§server_id: Option<String>
§email: Option<String>
§autoalert: Option<bool>
§authkey: Option<Option<String>>
API auth key used for the API, only set if MISP setting Security.advanced_authkeys
is set to false
.
invited_by: Option<String>
§gpgkey: Option<Option<String>>
§certif_public: Option<Option<String>>
§nids_sid: Option<String>
§termsaccepted: Option<bool>
§newsread: Option<String>
§role_id: Option<String>
§change_pw: Option<ChangePw>
Password change required.
contactalert: Option<bool>
§disabled: Option<bool>
§expiration: Option<Option<String>>
§current_login: Option<String>
§last_login: Option<String>
§force_logout: Option<bool>
§date_created: Option<String>
§date_modified: Option<String>
§user: Option<Box<User>>
§role: Option<Box<Role>>
§user_setting: Option<Box<ViewUserSettings>>
Implementations§
Source§impl ExtendedUser
impl ExtendedUser
pub fn new() -> ExtendedUser
Trait Implementations§
Source§impl Clone for ExtendedUser
impl Clone for ExtendedUser
Source§fn clone(&self) -> ExtendedUser
fn clone(&self) -> ExtendedUser
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 ExtendedUser
impl Debug for ExtendedUser
Source§impl Default for ExtendedUser
impl Default for ExtendedUser
Source§fn default() -> ExtendedUser
fn default() -> ExtendedUser
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtendedUser
impl<'de> Deserialize<'de> for ExtendedUser
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 ExtendedUser
impl PartialEq for ExtendedUser
Source§impl Serialize for ExtendedUser
impl Serialize for ExtendedUser
impl StructuralPartialEq for ExtendedUser
Auto Trait Implementations§
impl Freeze for ExtendedUser
impl RefUnwindSafe for ExtendedUser
impl Send for ExtendedUser
impl Sync for ExtendedUser
impl Unpin for ExtendedUser
impl UnwindSafe for ExtendedUser
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