pub struct ContainerNetworkDataBuilder<___State = __ContainerNetworkDataBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Gateway, __GlobalIpv6Address, __GlobalIpv6PrefixLength, __IpAddress, __IpPrefixLength, __Ipv6Gateway, __MacAddress, __NetworkName> ContainerNetworkDataBuilder<(__Gateway, __GlobalIpv6Address, __GlobalIpv6PrefixLength, __IpAddress, __IpPrefixLength, __Ipv6Gateway, __MacAddress, __NetworkName)>
impl<__Gateway, __GlobalIpv6Address, __GlobalIpv6PrefixLength, __IpAddress, __IpPrefixLength, __Ipv6Gateway, __MacAddress, __NetworkName> ContainerNetworkDataBuilder<(__Gateway, __GlobalIpv6Address, __GlobalIpv6PrefixLength, __IpAddress, __IpPrefixLength, __Ipv6Gateway, __MacAddress, __NetworkName)>
sourcepub fn build_struct(self) -> ContainerNetworkDatawhere
__Gateway: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__gateway>,
__GlobalIpv6Address: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__global_ipv_6_address>,
__GlobalIpv6PrefixLength: IntoSet<Option<Box<Option<i32>>>, ContainerNetworkDataBuilder__global_ipv_6_prefix_length>,
__IpAddress: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__ip_address>,
__IpPrefixLength: IntoSet<Option<Box<Option<i32>>>, ContainerNetworkDataBuilder__ip_prefix_length>,
__Ipv6Gateway: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__ipv_6_gateway>,
__MacAddress: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__mac_address>,
__NetworkName: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__network_name>,
pub fn build_struct(self) -> ContainerNetworkDatawhere
__Gateway: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__gateway>,
__GlobalIpv6Address: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__global_ipv_6_address>,
__GlobalIpv6PrefixLength: IntoSet<Option<Box<Option<i32>>>, ContainerNetworkDataBuilder__global_ipv_6_prefix_length>,
__IpAddress: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__ip_address>,
__IpPrefixLength: IntoSet<Option<Box<Option<i32>>>, ContainerNetworkDataBuilder__ip_prefix_length>,
__Ipv6Gateway: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__ipv_6_gateway>,
__MacAddress: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__mac_address>,
__NetworkName: IntoSet<Option<Box<Option<String>>>, ContainerNetworkDataBuilder__network_name>,
Finishes building and returns the requested object.
sourcepub fn maybe_gateway(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::Gatewaywhere
__Gateway: IsUnset,
pub fn maybe_gateway(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::Gatewaywhere
__Gateway: IsUnset,
Same as [Self::r#gateway
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn gateway(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::Gatewaywhere
__Gateway: IsUnset,
pub fn gateway(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::Gatewaywhere
__Gateway: IsUnset,
The network gateway of the container.
sourcepub fn maybe_global_ipv_6_address(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::GlobalIpv6Addresswhere
__GlobalIpv6Address: IsUnset,
pub fn maybe_global_ipv_6_address(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::GlobalIpv6Addresswhere
__GlobalIpv6Address: IsUnset,
Same as [Self::r#global_ipv_6_address
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn global_ipv_6_address(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::GlobalIpv6Addresswhere
__GlobalIpv6Address: IsUnset,
pub fn global_ipv_6_address(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::GlobalIpv6Addresswhere
__GlobalIpv6Address: IsUnset,
The IPV6 address of the container.
sourcepub fn maybe_global_ipv_6_prefix_length(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::GlobalIpv6PrefixLengthwhere
__GlobalIpv6PrefixLength: IsUnset,
pub fn maybe_global_ipv_6_prefix_length(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::GlobalIpv6PrefixLengthwhere
__GlobalIpv6PrefixLength: IsUnset,
Same as [Self::r#global_ipv_6_prefix_length
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn global_ipv_6_prefix_length(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::GlobalIpv6PrefixLengthwhere
__GlobalIpv6PrefixLength: IsUnset,
pub fn global_ipv_6_prefix_length(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::GlobalIpv6PrefixLengthwhere
__GlobalIpv6PrefixLength: IsUnset,
The IPV6 prefix length address of the container.
sourcepub fn maybe_ip_address(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::IpAddresswhere
__IpAddress: IsUnset,
pub fn maybe_ip_address(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::IpAddresswhere
__IpAddress: IsUnset,
Same as [Self::r#ip_address
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn ip_address(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::IpAddresswhere
__IpAddress: IsUnset,
pub fn ip_address(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::IpAddresswhere
__IpAddress: IsUnset,
The IP address of the container.
sourcepub fn maybe_ip_prefix_length(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::IpPrefixLengthwhere
__IpPrefixLength: IsUnset,
pub fn maybe_ip_prefix_length(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::IpPrefixLengthwhere
__IpPrefixLength: IsUnset,
Same as [Self::r#ip_prefix_length
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn ip_prefix_length(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::IpPrefixLengthwhere
__IpPrefixLength: IsUnset,
pub fn ip_prefix_length(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::IpPrefixLengthwhere
__IpPrefixLength: IsUnset,
The IP prefix length of the container.
sourcepub fn maybe_ipv_6_gateway(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::Ipv6Gatewaywhere
__Ipv6Gateway: IsUnset,
pub fn maybe_ipv_6_gateway(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::Ipv6Gatewaywhere
__Ipv6Gateway: IsUnset,
Same as [Self::r#ipv_6_gateway
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn ipv_6_gateway(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::Ipv6Gatewaywhere
__Ipv6Gateway: IsUnset,
pub fn ipv_6_gateway(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::Ipv6Gatewaywhere
__Ipv6Gateway: IsUnset,
The IPV6 gateway of the container.
sourcepub fn maybe_mac_address(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::MacAddresswhere
__MacAddress: IsUnset,
pub fn maybe_mac_address(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::MacAddresswhere
__MacAddress: IsUnset,
Same as [Self::r#mac_address
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn mac_address(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::MacAddresswhere
__MacAddress: IsUnset,
pub fn mac_address(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerNetworkDataBuilderSetMember>::MacAddresswhere
__MacAddress: IsUnset,
The MAC address of the container.