Struct qapi_qga::GuestOSInfo
source · pub struct GuestOSInfo {
pub id: Option<String>,
pub kernel_release: Option<String>,
pub kernel_version: Option<String>,
pub machine: Option<String>,
pub name: Option<String>,
pub pretty_name: Option<String>,
pub variant: Option<String>,
pub variant_id: Option<String>,
pub version: Option<String>,
pub version_id: Option<String>,
}
Fields§
§id: Option<String>
§kernel_release: Option<String>
§kernel_version: Option<String>
§machine: Option<String>
§name: Option<String>
§pretty_name: Option<String>
§variant: Option<String>
§variant_id: Option<String>
§version: Option<String>
§version_id: Option<String>
Trait Implementations§
source§impl Clone for GuestOSInfo
impl Clone for GuestOSInfo
source§fn clone(&self) -> GuestOSInfo
fn clone(&self) -> GuestOSInfo
Returns a copy 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 GuestOSInfo
impl Debug for GuestOSInfo
source§impl Default for GuestOSInfo
impl Default for GuestOSInfo
source§fn default() -> GuestOSInfo
fn default() -> GuestOSInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GuestOSInfo
impl<'de> Deserialize<'de> for GuestOSInfo
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 RefUnwindSafe for GuestOSInfo
impl Send for GuestOSInfo
impl Sync for GuestOSInfo
impl Unpin for GuestOSInfo
impl UnwindSafe for GuestOSInfo
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