Struct qapi_qga::GuestOSInfo
source · [−]pub struct GuestOSInfo {
pub name: Option<String>,
pub variant_id: Option<String>,
pub kernel_release: Option<String>,
pub kernel_version: Option<String>,
pub pretty_name: Option<String>,
pub id: Option<String>,
pub version: Option<String>,
pub version_id: Option<String>,
pub variant: Option<String>,
pub machine: Option<String>,
}Fields
name: Option<String>variant_id: Option<String>kernel_release: Option<String>kernel_version: Option<String>pretty_name: Option<String>id: Option<String>version: Option<String>version_id: Option<String>variant: Option<String>machine: Option<String>Trait Implementations
sourceimpl Clone for GuestOSInfo
impl Clone for GuestOSInfo
sourcefn clone(&self) -> GuestOSInfo
fn clone(&self) -> GuestOSInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GuestOSInfo
impl Debug for GuestOSInfo
sourceimpl Default for GuestOSInfo
impl Default for GuestOSInfo
sourcefn default() -> GuestOSInfo
fn default() -> GuestOSInfo
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GuestOSInfo
impl<'de> Deserialize<'de> for GuestOSInfo
sourcefn 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
sourceimpl Serialize for GuestOSInfo
impl Serialize for GuestOSInfo
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more