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>,
}
Expand description
Schema2PlatformSpec describes the platform which a particular manifest is specialized for.
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 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 for Schema2PlatformSpec
impl PartialEq for Schema2PlatformSpec
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