pub struct ManagerAccountUpdate {Show 17 fields
pub base: Option<ResourceUpdate>,
pub password: Option<String>,
pub user_name: Option<String>,
pub role_id: Option<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
Update struct corresponding to ManagerAccount
Fields§
§base: Option<ResourceUpdate>§password: Option<String>§user_name: Option<String>§role_id: Option<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 ManagerAccountUpdate
impl ManagerAccountUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> Self
pub fn with_password(self, v: String) -> Self
pub fn with_user_name(self, v: String) -> Self
pub fn with_role_id(self, v: String) -> 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 ManagerAccountUpdate
impl Debug for ManagerAccountUpdate
Source§impl Default for ManagerAccountUpdate
impl Default for ManagerAccountUpdate
Source§fn default() -> ManagerAccountUpdate
fn default() -> ManagerAccountUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ManagerAccountUpdate
impl RefUnwindSafe for ManagerAccountUpdate
impl Send for ManagerAccountUpdate
impl Sync for ManagerAccountUpdate
impl Unpin for ManagerAccountUpdate
impl UnsafeUnpin for ManagerAccountUpdate
impl UnwindSafe for ManagerAccountUpdate
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