pub struct Linux {
pub distro: String,
pub version: Option<String>,
pub version_name: Option<String>,
}
Fields§
§distro: String
§version: Option<String>
§version_name: Option<String>
Implementations§
Trait Implementations§
impl StructuralPartialEq for Linux
Auto Trait Implementations§
impl Freeze for Linux
impl RefUnwindSafe for Linux
impl Send for Linux
impl Sync for Linux
impl Unpin for Linux
impl UnwindSafe for Linux
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