Struct podman_rest_client::models::Schema2PlatformSpec
source · pub struct Schema2PlatformSpec {
pub architecture: Option<String>,
pub features: Option<Vec<String>>,
pub os: Option<String>,
pub os_period_features: Option<Vec<String>>,
pub os_period_version: Option<String>,
pub variant: Option<String>,
}
Expand description
Schema2PlatformSpec : Schema2PlatformSpec describes the platform which a particular manifest is specialized for. This is publicly visible as c/image/manifest.Schema2PlatformSpec.
Fields§
§architecture: Option<String>
§features: Option<Vec<String>>
§os: Option<String>
§os_period_features: Option<Vec<String>>
§os_period_version: Option<String>
§variant: Option<String>
Implementations§
source§impl Schema2PlatformSpec
impl Schema2PlatformSpec
sourcepub fn new() -> Schema2PlatformSpec
pub fn new() -> Schema2PlatformSpec
Schema2PlatformSpec describes the platform which a particular manifest is specialized for. This is publicly visible as c/image/manifest.Schema2PlatformSpec.
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 Default for Schema2PlatformSpec
impl Default for Schema2PlatformSpec
source§fn default() -> Schema2PlatformSpec
fn default() -> Schema2PlatformSpec
Returns the “default value” for a type. Read more
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 for Schema2PlatformSpec
impl PartialEq for Schema2PlatformSpec
source§fn eq(&self, other: &Schema2PlatformSpec) -> bool
fn eq(&self, other: &Schema2PlatformSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
impl StructuralPartialEq for Schema2PlatformSpec
Auto Trait Implementations§
impl Freeze for Schema2PlatformSpec
impl RefUnwindSafe for Schema2PlatformSpec
impl Send for Schema2PlatformSpec
impl Sync for Schema2PlatformSpec
impl Unpin for Schema2PlatformSpec
impl UnwindSafe for Schema2PlatformSpec
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)