pub struct Distro {
pub name: Option<String>,
pub version: Option<String>,
pub code_name: Option<String>,
pub unknown: Unknown,
}Expand description
The operating system distribution, where the client can tell.
Fields§
§name: Option<String>§version: Option<String>§code_name: Option<String>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Distro
impl<'de> Deserialize<'de> for Distro
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 StructuralPartialEq for Distro
Auto Trait Implementations§
impl Freeze for Distro
impl RefUnwindSafe for Distro
impl Send for Distro
impl Sync for Distro
impl Unpin for Distro
impl UnsafeUnpin for Distro
impl UnwindSafe for Distro
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