pub struct V1Platform {
pub os: Option<String>,
pub os_features: Option<Vec<String>>,
pub os_version: Option<String>,
pub architecture: Option<String>,
pub variant: Option<String>,
}
Expand description
V1Platform 模型
Fields§
§os: Option<String>
§os_features: Option<Vec<String>>
§os_version: Option<String>
§architecture: Option<String>
§variant: Option<String>
Trait Implementations§
Source§impl Clone for V1Platform
impl Clone for V1Platform
Source§fn clone(&self) -> V1Platform
fn clone(&self) -> V1Platform
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 V1Platform
impl Debug for V1Platform
Source§impl<'de> Deserialize<'de> for V1Platform
impl<'de> Deserialize<'de> for V1Platform
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 V1Platform
impl RefUnwindSafe for V1Platform
impl Send for V1Platform
impl Sync for V1Platform
impl Unpin for V1Platform
impl UnwindSafe for V1Platform
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