pub struct RuleOs {
pub platform: Option<Platform>,
pub version: Option<String>,
pub arch: Option<Architecture>,
}
Expand description
OS configuration
Fields§
§platform: Option<Platform>
The platform.
version: Option<String>
Version of the platform.
arch: Option<Architecture>
Architecture of the platform.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RuleOs
impl<'de> Deserialize<'de> for RuleOs
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 RuleOs
impl RefUnwindSafe for RuleOs
impl Send for RuleOs
impl Sync for RuleOs
impl Unpin for RuleOs
impl UnwindSafe for RuleOs
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