pub struct ManifestPlatform {
pub architecture: Option<String>,
pub os: Option<String>,
pub os_version: Option<String>,
pub variant: Option<String>,
}Expand description
Platform information in a manifest
Fields§
§architecture: Option<String>Architecture (e.g., “amd64”, “arm64”)
os: Option<String>Operating system (e.g., “linux”, “windows”)
os_version: Option<String>OS version
variant: Option<String>Architecture variant (e.g., “v8”)
Trait Implementations§
Source§impl Clone for ManifestPlatform
impl Clone for ManifestPlatform
Source§fn clone(&self) -> ManifestPlatform
fn clone(&self) -> ManifestPlatform
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 ManifestPlatform
impl Debug for ManifestPlatform
Source§impl<'de> Deserialize<'de> for ManifestPlatform
impl<'de> Deserialize<'de> for ManifestPlatform
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 ManifestPlatform
impl RefUnwindSafe for ManifestPlatform
impl Send for ManifestPlatform
impl Sync for ManifestPlatform
impl Unpin for ManifestPlatform
impl UnwindSafe for ManifestPlatform
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