pub struct Schema2PlatformSpec {
pub architecture: Option<String>,
pub features: Option<Vec<String>>,
pub os: Option<String>,
pub os_features: Option<Vec<String>>,
pub os_version: Option<String>,
pub variant: Option<String>,
}
Available on crate feature
v5
only.Expand description
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_features: Option<Vec<String>>
§os_version: Option<String>
§variant: Option<String>
Trait Implementations§
Source§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
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