pub struct ServiceTaskSpecNetworksAdvanced {
pub aliases: Box<Option<Vec<String>>>,
pub driver_opts: Box<Option<Vec<String>>>,
pub name: Box<String>,
}
Fields§
§aliases: Box<Option<Vec<String>>>
The network aliases of the container in the specific network.
driver_opts: Box<Option<Vec<String>>>
An array of driver options for the network, e.g. opts1=value
name: Box<String>
The name/id of the network.
Implementations§
source§impl ServiceTaskSpecNetworksAdvanced
impl ServiceTaskSpecNetworksAdvanced
sourcepub fn builder() -> ServiceTaskSpecNetworksAdvancedBuilder
pub fn builder() -> ServiceTaskSpecNetworksAdvancedBuilder
Create an instance of ServiceTaskSpecNetworksAdvanced
using the builder syntax
Trait Implementations§
source§impl<'de> Deserialize<'de> for ServiceTaskSpecNetworksAdvanced
impl<'de> Deserialize<'de> for ServiceTaskSpecNetworksAdvanced
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ServiceTaskSpecNetworksAdvanced
impl RefUnwindSafe for ServiceTaskSpecNetworksAdvanced
impl Send for ServiceTaskSpecNetworksAdvanced
impl Sync for ServiceTaskSpecNetworksAdvanced
impl Unpin for ServiceTaskSpecNetworksAdvanced
impl UnwindSafe for ServiceTaskSpecNetworksAdvanced
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