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 duplicate 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<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
Source§impl PartialEq for Schema2PlatformSpec
impl PartialEq for Schema2PlatformSpec
Source§impl Serialize for Schema2PlatformSpec
impl Serialize for Schema2PlatformSpec
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