Struct docker_api::api::service::opts::ServiceOptsBuilder [−][src]
pub struct ServiceOptsBuilder { /* fields omitted */ }
This is supported on crate feature
swarm
only.Implementations
pub fn labels<L, K, V>(self, labels: L) -> Self where
L: IntoIterator<Item = (K, V)>,
K: AsRef<str> + Serialize + Eq + Hash,
V: AsRef<str> + Serialize,
pub fn networks<N>(self, networks: N) -> Self where
N: IntoIterator<Item = NetworkAttachmentConfig>,
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ServiceOptsBuilder
impl Send for ServiceOptsBuilder
impl Sync for ServiceOptsBuilder
impl Unpin for ServiceOptsBuilder
impl !UnwindSafe for ServiceOptsBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more