pub struct ServiceModeReplicated {
pub replicas: Box<Option<i32>>,
}
Fields§
§replicas: Box<Option<i32>>
The amount of replicas of the service. Defaults to 1
Implementations§
source§impl ServiceModeReplicated
impl ServiceModeReplicated
sourcepub fn builder() -> ServiceModeReplicatedBuilder
pub fn builder() -> ServiceModeReplicatedBuilder
Create an instance of ServiceModeReplicated
using the builder syntax
Trait Implementations§
source§impl Debug for ServiceModeReplicated
impl Debug for ServiceModeReplicated
source§impl<'de> Deserialize<'de> for ServiceModeReplicated
impl<'de> Deserialize<'de> for ServiceModeReplicated
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 ServiceModeReplicated
impl RefUnwindSafe for ServiceModeReplicated
impl Send for ServiceModeReplicated
impl Sync for ServiceModeReplicated
impl Unpin for ServiceModeReplicated
impl UnwindSafe for ServiceModeReplicated
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