pub struct PodOS {
pub name: String,
}
Expand description
PodOS defines the OS parameters of a pod.
Fields
name: String
Name is the name of the operating system. The currently supported values are linux and windows. Additional value may be defined in future and can be one of: https://github.com/opencontainers/runtime-spec/blob/master/config.md#platform-specific-configuration Clients should expect to handle additional values and treat unrecognized values in this field as os: null
Trait Implementations
sourceimpl DeepMerge for PodOS
impl DeepMerge for PodOS
sourcefn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge other
into self
.
sourceimpl<'de> Deserialize<'de> for PodOS
impl<'de> Deserialize<'de> for PodOS
sourcefn 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
sourceimpl PartialEq<PodOS> for PodOS
impl PartialEq<PodOS> for PodOS
impl StructuralPartialEq for PodOS
Auto Trait Implementations
impl RefUnwindSafe for PodOS
impl Send for PodOS
impl Sync for PodOS
impl Unpin for PodOS
impl UnwindSafe for PodOS
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more