Struct k8s_openapi_ext::corev1::PodOS
source · [−]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<'de> Deserialize<'de> for PodOS
impl<'de> Deserialize<'de> for PodOS
sourcefn deserialize<D>(
deserializer: D
) -> Result<PodOS, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<PodOS, <D as Deserializer<'de>>::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
sourceimpl Serialize for PodOS
impl Serialize for PodOS
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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