pub struct ComposeDeploy {
pub replicas: Option<u32>,
pub resources: Option<Value>,
pub restart_policy: Option<Value>,
pub update_config: Option<Value>,
}Fields§
§replicas: Option<u32>§resources: Option<Value>§restart_policy: Option<Value>§update_config: Option<Value>Trait Implementations§
Source§impl Clone for ComposeDeploy
impl Clone for ComposeDeploy
Source§fn clone(&self) -> ComposeDeploy
fn clone(&self) -> ComposeDeploy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComposeDeploy
impl Debug for ComposeDeploy
Source§impl<'de> Deserialize<'de> for ComposeDeploy
impl<'de> Deserialize<'de> for ComposeDeploy
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 ComposeDeploy
impl RefUnwindSafe for ComposeDeploy
impl Send for ComposeDeploy
impl Sync for ComposeDeploy
impl Unpin for ComposeDeploy
impl UnsafeUnpin for ComposeDeploy
impl UnwindSafe for ComposeDeploy
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