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§
Source§impl<'de> Deserialize<'de> for PodOS
impl<'de> Deserialize<'de> for PodOS
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
impl StructuralPartialEq for PodOS
Auto Trait Implementations§
impl Freeze for PodOS
impl RefUnwindSafe for PodOS
impl Send for PodOS
impl Sync for PodOS
impl Unpin for PodOS
impl UnwindSafe for PodOS
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