pub struct PlatformDescriptor {
pub os: String,
pub arch: String,
pub supported: bool,
pub reason: Option<String>,
}Fields§
§os: String§arch: String§supported: bool§reason: Option<String>Trait Implementations§
Source§impl Clone for PlatformDescriptor
impl Clone for PlatformDescriptor
Source§fn clone(&self) -> PlatformDescriptor
fn clone(&self) -> PlatformDescriptor
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 PlatformDescriptor
impl Debug for PlatformDescriptor
Source§impl Default for PlatformDescriptor
impl Default for PlatformDescriptor
Source§fn default() -> PlatformDescriptor
fn default() -> PlatformDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformDescriptor
impl<'de> Deserialize<'de> for PlatformDescriptor
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 PlatformDescriptor
impl RefUnwindSafe for PlatformDescriptor
impl Send for PlatformDescriptor
impl Sync for PlatformDescriptor
impl Unpin for PlatformDescriptor
impl UnsafeUnpin for PlatformDescriptor
impl UnwindSafe for PlatformDescriptor
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