pub struct ContainerNetworksAdvancedBuilder<___State = __ContainerNetworksAdvancedBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Aliases, __Ipv4Address, __Ipv6Address, __Name> ContainerNetworksAdvancedBuilder<(__Aliases, __Ipv4Address, __Ipv6Address, __Name)>
impl<__Aliases, __Ipv4Address, __Ipv6Address, __Name> ContainerNetworksAdvancedBuilder<(__Aliases, __Ipv4Address, __Ipv6Address, __Name)>
sourcepub fn build_struct(self) -> ContainerNetworksAdvancedwhere
__Aliases: IntoSet<Option<Box<Option<Vec<String>>>>, ContainerNetworksAdvancedBuilder__aliases>,
__Ipv4Address: IntoSet<Option<Box<Option<String>>>, ContainerNetworksAdvancedBuilder__ipv_4_address>,
__Ipv6Address: IntoSet<Option<Box<Option<String>>>, ContainerNetworksAdvancedBuilder__ipv_6_address>,
__Name: IntoSet<Box<String>, ContainerNetworksAdvancedBuilder__name>,
pub fn build_struct(self) -> ContainerNetworksAdvancedwhere
__Aliases: IntoSet<Option<Box<Option<Vec<String>>>>, ContainerNetworksAdvancedBuilder__aliases>,
__Ipv4Address: IntoSet<Option<Box<Option<String>>>, ContainerNetworksAdvancedBuilder__ipv_4_address>,
__Ipv6Address: IntoSet<Option<Box<Option<String>>>, ContainerNetworksAdvancedBuilder__ipv_6_address>,
__Name: IntoSet<Box<String>, ContainerNetworksAdvancedBuilder__name>,
Finishes building and returns the requested object.
sourcepub fn maybe_aliases(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __ContainerNetworksAdvancedBuilderSetMember>::Aliaseswhere
__Aliases: IsUnset,
pub fn maybe_aliases(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __ContainerNetworksAdvancedBuilderSetMember>::Aliaseswhere
__Aliases: IsUnset,
Same as [Self::r#aliases
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn aliases(
self,
value: impl Into<Box<Option<Vec<String>>>>,
) -> <Self as __ContainerNetworksAdvancedBuilderSetMember>::Aliaseswhere
__Aliases: IsUnset,
pub fn aliases(
self,
value: impl Into<Box<Option<Vec<String>>>>,
) -> <Self as __ContainerNetworksAdvancedBuilderSetMember>::Aliaseswhere
__Aliases: IsUnset,
The network aliases of the container in the specific network.
sourcepub fn maybe_ipv_4_address(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworksAdvancedBuilderSetMember>::Ipv4Addresswhere
__Ipv4Address: IsUnset,
pub fn maybe_ipv_4_address(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworksAdvancedBuilderSetMember>::Ipv4Addresswhere
__Ipv4Address: IsUnset,
Same as [Self::r#ipv_4_address
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn ipv_4_address(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworksAdvancedBuilderSetMember>::Ipv4Addresswhere
__Ipv4Address: IsUnset,
pub fn ipv_4_address(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworksAdvancedBuilderSetMember>::Ipv4Addresswhere
__Ipv4Address: IsUnset,
The IPV4 address of the container in the specific network.
sourcepub fn maybe_ipv_6_address(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworksAdvancedBuilderSetMember>::Ipv6Addresswhere
__Ipv6Address: IsUnset,
pub fn maybe_ipv_6_address(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworksAdvancedBuilderSetMember>::Ipv6Addresswhere
__Ipv6Address: IsUnset,
Same as [Self::r#ipv_6_address
], but accepts an Option
as input. See that method’s documentation for more details.
Auto Trait Implementations§
impl<___State> Freeze for ContainerNetworksAdvancedBuilder<___State>where
___State: Freeze,
impl<___State> RefUnwindSafe for ContainerNetworksAdvancedBuilder<___State>where
___State: RefUnwindSafe,
impl<___State> Send for ContainerNetworksAdvancedBuilder<___State>where
___State: Send,
impl<___State> Sync for ContainerNetworksAdvancedBuilder<___State>where
___State: Sync,
impl<___State> Unpin for ContainerNetworksAdvancedBuilder<___State>where
___State: Unpin,
impl<___State> UnwindSafe for ContainerNetworksAdvancedBuilder<___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