pub struct ServiceTaskSpecContainerSpecDnsConfigBuilder<___State = __ServiceTaskSpecContainerSpecDnsConfigBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Nameservers, __Options, __Searches> ServiceTaskSpecContainerSpecDnsConfigBuilder<(__Nameservers, __Options, __Searches)>
impl<__Nameservers, __Options, __Searches> ServiceTaskSpecContainerSpecDnsConfigBuilder<(__Nameservers, __Options, __Searches)>
sourcepub fn build_struct(self) -> ServiceTaskSpecContainerSpecDnsConfigwhere
__Nameservers: IntoSet<Box<Vec<String>>, ServiceTaskSpecContainerSpecDnsConfigBuilder__nameservers>,
__Options: IntoSet<Option<Box<Option<Vec<String>>>>, ServiceTaskSpecContainerSpecDnsConfigBuilder__options>,
__Searches: IntoSet<Option<Box<Option<Vec<String>>>>, ServiceTaskSpecContainerSpecDnsConfigBuilder__searches>,
pub fn build_struct(self) -> ServiceTaskSpecContainerSpecDnsConfigwhere
__Nameservers: IntoSet<Box<Vec<String>>, ServiceTaskSpecContainerSpecDnsConfigBuilder__nameservers>,
__Options: IntoSet<Option<Box<Option<Vec<String>>>>, ServiceTaskSpecContainerSpecDnsConfigBuilder__options>,
__Searches: IntoSet<Option<Box<Option<Vec<String>>>>, ServiceTaskSpecContainerSpecDnsConfigBuilder__searches>,
Finishes building and returns the requested object.
sourcepub fn nameservers(
self,
value: impl Into<Box<Vec<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecDnsConfigBuilderSetMember>::Nameserverswhere
__Nameservers: IsUnset,
pub fn nameservers(
self,
value: impl Into<Box<Vec<String>>>,
) -> <Self as __ServiceTaskSpecContainerSpecDnsConfigBuilderSetMember>::Nameserverswhere
__Nameservers: IsUnset,
The IP addresses of the name servers
sourcepub fn maybe_options(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecDnsConfigBuilderSetMember>::Optionswhere
__Options: IsUnset,
pub fn maybe_options(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecDnsConfigBuilderSetMember>::Optionswhere
__Options: IsUnset,
Same as [Self::r#options
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn options(
self,
value: impl Into<Box<Option<Vec<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecDnsConfigBuilderSetMember>::Optionswhere
__Options: IsUnset,
pub fn options(
self,
value: impl Into<Box<Option<Vec<String>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecDnsConfigBuilderSetMember>::Optionswhere
__Options: IsUnset,
A list of internal resolver variables to be modified (e.g., debug
, ndots:3
, etc.)
sourcepub fn maybe_searches(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecDnsConfigBuilderSetMember>::Searcheswhere
__Searches: IsUnset,
pub fn maybe_searches(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __ServiceTaskSpecContainerSpecDnsConfigBuilderSetMember>::Searcheswhere
__Searches: IsUnset,
Same as [Self::r#searches
], but accepts an Option
as input. See that method’s documentation for more details.
Auto Trait Implementations§
impl<___State> Freeze for ServiceTaskSpecContainerSpecDnsConfigBuilder<___State>where
___State: Freeze,
impl<___State> RefUnwindSafe for ServiceTaskSpecContainerSpecDnsConfigBuilder<___State>where
___State: RefUnwindSafe,
impl<___State> Send for ServiceTaskSpecContainerSpecDnsConfigBuilder<___State>where
___State: Send,
impl<___State> Sync for ServiceTaskSpecContainerSpecDnsConfigBuilder<___State>where
___State: Sync,
impl<___State> Unpin for ServiceTaskSpecContainerSpecDnsConfigBuilder<___State>where
___State: Unpin,
impl<___State> UnwindSafe for ServiceTaskSpecContainerSpecDnsConfigBuilder<___State>where
___State: UnwindSafe,
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