Struct qapi_qmp::PCDIMMDeviceInfo
source · [−]pub struct PCDIMMDeviceInfo {
pub id: Option<String>,
pub slot: i32,
pub addr: i32,
pub node: i32,
pub size: i32,
pub memdev: String,
pub hotpluggable: bool,
pub hotplugged: bool,
}Fields
id: Option<String>slot: i32addr: i32node: i32size: i32memdev: Stringhotpluggable: boolhotplugged: boolTrait Implementations
sourceimpl AsRef<PCDIMMDeviceInfo> for PCDIMMDeviceInfoWrapper
impl AsRef<PCDIMMDeviceInfo> for PCDIMMDeviceInfoWrapper
sourcefn as_ref(&self) -> &PCDIMMDeviceInfo
fn as_ref(&self) -> &PCDIMMDeviceInfo
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for PCDIMMDeviceInfo
impl Clone for PCDIMMDeviceInfo
sourcefn clone(&self) -> PCDIMMDeviceInfo
fn clone(&self) -> PCDIMMDeviceInfo
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 PCDIMMDeviceInfo
impl Debug for PCDIMMDeviceInfo
sourceimpl<'de> Deserialize<'de> for PCDIMMDeviceInfo
impl<'de> Deserialize<'de> for PCDIMMDeviceInfo
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 PCDIMMDeviceInfo
impl Serialize for PCDIMMDeviceInfo
Auto Trait Implementations
impl RefUnwindSafe for PCDIMMDeviceInfo
impl Send for PCDIMMDeviceInfo
impl Sync for PCDIMMDeviceInfo
impl Unpin for PCDIMMDeviceInfo
impl UnwindSafe for PCDIMMDeviceInfo
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