pub struct Deployment {
pub endpoint_mode: Option<String>,
pub labels: Option<VecOrMap>,
pub mode: Option<String>,
pub placement: Option<DeploymentPlacement>,
pub replicas: Option<NumOrStr>,
pub resources: Option<DeploymentResources>,
pub restart_policy: Option<DeploymentRestartPolicy>,
pub rollback_config: Option<DeploymentConfig>,
pub update_config: Option<DeploymentConfig>,
}
Fields§
§endpoint_mode: Option<String>
§labels: Option<VecOrMap>
§mode: Option<String>
§placement: Option<DeploymentPlacement>
§replicas: Option<NumOrStr>
§resources: Option<DeploymentResources>
§restart_policy: Option<DeploymentRestartPolicy>
§rollback_config: Option<DeploymentConfig>
§update_config: Option<DeploymentConfig>
Trait Implementations§
Source§impl Clone for Deployment
impl Clone for Deployment
Source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
Returns a copy 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 Deployment
impl Debug for Deployment
Source§impl<'de> Deserialize<'de> for Deployment
impl<'de> Deserialize<'de> for Deployment
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
Source§impl From<&Deployment> for Deployment
impl From<&Deployment> for Deployment
Source§fn from(value: &Deployment) -> Self
fn from(value: &Deployment) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Deployment
impl PartialEq for Deployment
Source§impl PartialOrd for Deployment
impl PartialOrd for Deployment
Source§impl Serialize for Deployment
impl Serialize for Deployment
impl StructuralPartialEq for Deployment
Auto Trait Implementations§
impl Freeze for Deployment
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnwindSafe for Deployment
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