Struct docker_compose_types::ServiceBuilder [−][src]
pub struct ServiceBuilder { /* fields omitted */ }Expand description
Builder for Service.
Implementations
impl ServiceBuilder[src]
impl ServiceBuilder[src]pub fn hostname<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn healthcheck<VALUE: Into<Option<Healthcheck>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn deploy<VALUE: Into<Option<Deploy>>>(&mut self, value: VALUE) -> &mut Self[src]
pub fn image<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]
pub fn container_name<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn build_<VALUE: Into<Option<BuildStep>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn pid<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]
pub fn ports<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn environment<VALUE: Into<Option<Environment>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn network_mode<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn devices<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn restart<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn labels<VALUE: Into<Option<Labels>>>(&mut self, value: VALUE) -> &mut Self[src]
pub fn ulimits<VALUE: Into<Option<Ulimits>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn volumes<VALUE: Into<Option<Volumes>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn networks<VALUE: Into<Option<Networks>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn cap_add<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn depends_on<VALUE: Into<Option<DependsOnOptions>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn command<VALUE: Into<Option<Command>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn entrypoint<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn env_file<VALUE: Into<Option<EnvFile>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn stop_grace_period<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn profiles<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn links<VALUE: Into<Option<Vec<String>>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn ipc<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]
pub fn net<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]
pub fn stop_signal<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn user<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self[src]
pub fn working_dir<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn expose<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self[src]
pub fn volumes_from<VALUE: Into<Vec<String>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn extends<VALUE: Into<Option<IndexMap<String, String>>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn logging<VALUE: Into<Option<LoggingParameters>>>(
&mut self,
value: VALUE
) -> &mut Self[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn scale<VALUE: Into<i64>>(&mut self, value: VALUE) -> &mut Self[src]
Trait Implementations
impl Clone for ServiceBuilder[src]
impl Clone for ServiceBuilder[src]fn clone(&self) -> ServiceBuilder[src]
fn clone(&self) -> ServiceBuilder[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for ServiceBuilder
impl Send for ServiceBuilder
impl Sync for ServiceBuilder
impl Unpin for ServiceBuilder
impl UnwindSafe for ServiceBuilder
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more