Struct podman_api::models::Schema2PlatformSpec
source · pub struct Schema2PlatformSpec {
pub architecture: Option<String>,
pub features: Option<Vec<String, Global>>,
pub os: Option<String>,
pub os_features: Option<Vec<String, Global>>,
pub os_version: Option<String>,
pub variant: Option<String>,
}
Expand description
Schema2PlatformSpec describes the platform which a particular manifest is specialized for.
Fields§
§architecture: Option<String>
§features: Option<Vec<String, Global>>
§os: Option<String>
§os_features: Option<Vec<String, Global>>
§os_version: Option<String>
§variant: Option<String>
Trait Implementations§
source§impl Clone for Schema2PlatformSpec
impl Clone for Schema2PlatformSpec
source§fn clone(&self) -> Schema2PlatformSpec
fn clone(&self) -> Schema2PlatformSpec
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 Schema2PlatformSpec
impl Debug for Schema2PlatformSpec
source§impl<'de> Deserialize<'de> for Schema2PlatformSpec
impl<'de> Deserialize<'de> for Schema2PlatformSpec
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Schema2PlatformSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Schema2PlatformSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Schema2PlatformSpec> for Schema2PlatformSpec
impl PartialEq<Schema2PlatformSpec> for Schema2PlatformSpec
source§fn eq(&self, other: &Schema2PlatformSpec) -> bool
fn eq(&self, other: &Schema2PlatformSpec) -> bool
source§impl Serialize for Schema2PlatformSpec
impl Serialize for Schema2PlatformSpec
source§fn 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