pub struct NativeRuntimePlatform {
pub os: String,
pub arch: String,
pub target: Option<String>,
}Fields§
§os: String§arch: String§target: Option<String>Trait Implementations§
Source§impl Clone for NativeRuntimePlatform
impl Clone for NativeRuntimePlatform
Source§fn clone(&self) -> NativeRuntimePlatform
fn clone(&self) -> NativeRuntimePlatform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeRuntimePlatform
impl Debug for NativeRuntimePlatform
Source§impl<'de> Deserialize<'de> for NativeRuntimePlatform
impl<'de> Deserialize<'de> for NativeRuntimePlatform
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
impl Eq for NativeRuntimePlatform
Source§impl PartialEq for NativeRuntimePlatform
impl PartialEq for NativeRuntimePlatform
Source§impl Serialize for NativeRuntimePlatform
impl Serialize for NativeRuntimePlatform
impl StructuralPartialEq for NativeRuntimePlatform
Auto Trait Implementations§
impl Freeze for NativeRuntimePlatform
impl RefUnwindSafe for NativeRuntimePlatform
impl Send for NativeRuntimePlatform
impl Sync for NativeRuntimePlatform
impl Unpin for NativeRuntimePlatform
impl UnsafeUnpin for NativeRuntimePlatform
impl UnwindSafe for NativeRuntimePlatform
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