pub struct ManagerAccountCreate {Show 16 fields
pub password: String,
pub user_name: String,
pub role_id: String,
pub locked: Option<bool>,
pub enabled: Option<bool>,
pub password_change_required: Option<bool>,
pub snmp: Option<SnmpUserInfoUpdate>,
pub account_types: Option<Vec<AccountTypes>>,
pub oem_account_types: Option<Vec<String>>,
pub password_expiration: Option<EdmDateTimeOffset>,
pub strict_account_types: Option<bool>,
pub account_expiration: Option<EdmDateTimeOffset>,
pub mfa_bypass: Option<MfaBypassUpdate>,
pub email_address: Option<String>,
pub phone_number: Option<String>,
pub one_time_passcode_delivery_address: Option<String>,
}Expand description
Create struct corresponding to ManagerAccount
Fields§
§password: String§user_name: String§role_id: String§locked: Option<bool>§enabled: Option<bool>§password_change_required: Option<bool>§snmp: Option<SnmpUserInfoUpdate>§account_types: Option<Vec<AccountTypes>>§oem_account_types: Option<Vec<String>>§password_expiration: Option<EdmDateTimeOffset>§strict_account_types: Option<bool>§account_expiration: Option<EdmDateTimeOffset>§mfa_bypass: Option<MfaBypassUpdate>§email_address: Option<String>§phone_number: Option<String>§one_time_passcode_delivery_address: Option<String>Implementations§
Source§impl ManagerAccountCreate
impl ManagerAccountCreate
pub fn builder(password: String, user_name: String, role_id: String) -> Self
pub fn build(self) -> Self
pub fn with_locked(self, v: bool) -> Self
pub fn with_enabled(self, v: bool) -> Self
pub fn with_password_change_required(self, v: bool) -> Self
pub fn with_snmp(self, v: SnmpUserInfoUpdate) -> Self
pub fn with_account_types(self, v: Vec<AccountTypes>) -> Self
pub fn with_oem_account_types(self, v: Vec<String>) -> Self
pub fn with_password_expiration(self, v: EdmDateTimeOffset) -> Self
pub fn with_strict_account_types(self, v: bool) -> Self
pub fn with_account_expiration(self, v: EdmDateTimeOffset) -> Self
pub fn with_mfa_bypass(self, v: MfaBypassUpdate) -> Self
pub fn with_email_address(self, v: String) -> Self
pub fn with_phone_number(self, v: String) -> Self
pub fn with_one_time_passcode_delivery_address(self, v: String) -> Self
Trait Implementations§
Source§impl Debug for ManagerAccountCreate
impl Debug for ManagerAccountCreate
Auto Trait Implementations§
impl Freeze for ManagerAccountCreate
impl RefUnwindSafe for ManagerAccountCreate
impl Send for ManagerAccountCreate
impl Sync for ManagerAccountCreate
impl Unpin for ManagerAccountCreate
impl UnsafeUnpin for ManagerAccountCreate
impl UnwindSafe for ManagerAccountCreate
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