pub struct K8sDeployment {
pub api_version: String,
pub kind: String,
pub metadata: K8sMetadata,
pub spec: K8sDeploymentSpec,
}Expand description
Kubernetes Deployment — top-level resource
Fields§
§api_version: String§kind: String§metadata: K8sMetadata§spec: K8sDeploymentSpecImplementations§
Trait Implementations§
Source§impl Clone for K8sDeployment
impl Clone for K8sDeployment
Source§fn clone(&self) -> K8sDeployment
fn clone(&self) -> K8sDeployment
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 K8sDeployment
impl Debug for K8sDeployment
Source§impl<'de> Deserialize<'de> for K8sDeployment
impl<'de> Deserialize<'de> for K8sDeployment
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 K8sDeployment
impl RefUnwindSafe for K8sDeployment
impl Send for K8sDeployment
impl Sync for K8sDeployment
impl Unpin for K8sDeployment
impl UnsafeUnpin for K8sDeployment
impl UnwindSafe for K8sDeployment
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