Struct pulumi_wasm_docker::ServiceMode
source · pub struct ServiceMode {
pub global: Box<Option<bool>>,
pub replicated: Box<Option<ServiceModeReplicated>>,
}
Fields§
§global: Box<Option<bool>>
When true
, tasks will run on every worker node. Conflicts with replicated
replicated: Box<Option<ServiceModeReplicated>>
The replicated service mode
Implementations§
source§impl ServiceMode
impl ServiceMode
sourcepub fn builder() -> ServiceModeBuilder
pub fn builder() -> ServiceModeBuilder
Create an instance of ServiceMode
using the builder syntax
Trait Implementations§
source§impl Debug for ServiceMode
impl Debug for ServiceMode
source§impl<'de> Deserialize<'de> for ServiceMode
impl<'de> Deserialize<'de> for ServiceMode
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 ServiceMode
impl RefUnwindSafe for ServiceMode
impl Send for ServiceMode
impl Sync for ServiceMode
impl Unpin for ServiceMode
impl UnwindSafe for ServiceMode
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