#[non_exhaustive]pub struct NoManagementPreferenceBuilder { /* private fields */ }Expand description
A builder for NoManagementPreference.
Implementations§
source§impl NoManagementPreferenceBuilder
impl NoManagementPreferenceBuilder
sourcepub fn target_destination(self, input: NoPreferenceTargetDestination) -> Self
pub fn target_destination(self, input: NoPreferenceTargetDestination) -> Self
Appends an item to target_destination.
To override the contents of this collection use set_target_destination.
The choice of application destination that you specify.
sourcepub fn set_target_destination(
self,
input: Option<Vec<NoPreferenceTargetDestination>>
) -> Self
pub fn set_target_destination( self, input: Option<Vec<NoPreferenceTargetDestination>> ) -> Self
The choice of application destination that you specify.
sourcepub fn get_target_destination(
&self
) -> &Option<Vec<NoPreferenceTargetDestination>>
pub fn get_target_destination( &self ) -> &Option<Vec<NoPreferenceTargetDestination>>
The choice of application destination that you specify.
sourcepub fn build(self) -> Result<NoManagementPreference, BuildError>
pub fn build(self) -> Result<NoManagementPreference, BuildError>
Consumes the builder and constructs a NoManagementPreference.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for NoManagementPreferenceBuilder
impl Clone for NoManagementPreferenceBuilder
source§fn clone(&self) -> NoManagementPreferenceBuilder
fn clone(&self) -> NoManagementPreferenceBuilder
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 NoManagementPreferenceBuilder
impl Default for NoManagementPreferenceBuilder
source§fn default() -> NoManagementPreferenceBuilder
fn default() -> NoManagementPreferenceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for NoManagementPreferenceBuilder
impl PartialEq for NoManagementPreferenceBuilder
source§fn eq(&self, other: &NoManagementPreferenceBuilder) -> bool
fn eq(&self, other: &NoManagementPreferenceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for NoManagementPreferenceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for NoManagementPreferenceBuilder
impl Send for NoManagementPreferenceBuilder
impl Sync for NoManagementPreferenceBuilder
impl Unpin for NoManagementPreferenceBuilder
impl UnwindSafe for NoManagementPreferenceBuilder
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.