#[non_exhaustive]pub struct AccountTakeoverActionsTypeBuilder { /* private fields */ }Expand description
A builder for AccountTakeoverActionsType.
Implementations§
source§impl AccountTakeoverActionsTypeBuilder
impl AccountTakeoverActionsTypeBuilder
sourcepub fn low_action(self, input: AccountTakeoverActionType) -> Self
pub fn low_action(self, input: AccountTakeoverActionType) -> Self
Action to take for a low risk.
sourcepub fn set_low_action(self, input: Option<AccountTakeoverActionType>) -> Self
pub fn set_low_action(self, input: Option<AccountTakeoverActionType>) -> Self
Action to take for a low risk.
sourcepub fn get_low_action(&self) -> &Option<AccountTakeoverActionType>
pub fn get_low_action(&self) -> &Option<AccountTakeoverActionType>
Action to take for a low risk.
sourcepub fn medium_action(self, input: AccountTakeoverActionType) -> Self
pub fn medium_action(self, input: AccountTakeoverActionType) -> Self
Action to take for a medium risk.
sourcepub fn set_medium_action(self, input: Option<AccountTakeoverActionType>) -> Self
pub fn set_medium_action(self, input: Option<AccountTakeoverActionType>) -> Self
Action to take for a medium risk.
sourcepub fn get_medium_action(&self) -> &Option<AccountTakeoverActionType>
pub fn get_medium_action(&self) -> &Option<AccountTakeoverActionType>
Action to take for a medium risk.
sourcepub fn high_action(self, input: AccountTakeoverActionType) -> Self
pub fn high_action(self, input: AccountTakeoverActionType) -> Self
Action to take for a high risk.
sourcepub fn set_high_action(self, input: Option<AccountTakeoverActionType>) -> Self
pub fn set_high_action(self, input: Option<AccountTakeoverActionType>) -> Self
Action to take for a high risk.
sourcepub fn get_high_action(&self) -> &Option<AccountTakeoverActionType>
pub fn get_high_action(&self) -> &Option<AccountTakeoverActionType>
Action to take for a high risk.
sourcepub fn build(self) -> AccountTakeoverActionsType
pub fn build(self) -> AccountTakeoverActionsType
Consumes the builder and constructs a AccountTakeoverActionsType.
Trait Implementations§
source§impl Clone for AccountTakeoverActionsTypeBuilder
impl Clone for AccountTakeoverActionsTypeBuilder
source§fn clone(&self) -> AccountTakeoverActionsTypeBuilder
fn clone(&self) -> AccountTakeoverActionsTypeBuilder
Returns a copy 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 Default for AccountTakeoverActionsTypeBuilder
impl Default for AccountTakeoverActionsTypeBuilder
source§fn default() -> AccountTakeoverActionsTypeBuilder
fn default() -> AccountTakeoverActionsTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AccountTakeoverActionsTypeBuilder
impl PartialEq for AccountTakeoverActionsTypeBuilder
source§fn eq(&self, other: &AccountTakeoverActionsTypeBuilder) -> bool
fn eq(&self, other: &AccountTakeoverActionsTypeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AccountTakeoverActionsTypeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AccountTakeoverActionsTypeBuilder
impl Send for AccountTakeoverActionsTypeBuilder
impl Sync for AccountTakeoverActionsTypeBuilder
impl Unpin for AccountTakeoverActionsTypeBuilder
impl UnwindSafe for AccountTakeoverActionsTypeBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.