Struct qapi_qmp::PCDIMMDeviceInfo
source · pub struct PCDIMMDeviceInfo {
pub id: Option<String>,
pub addr: i64,
pub hotpluggable: bool,
pub hotplugged: bool,
pub memdev: String,
pub node: i64,
pub size: i64,
pub slot: i64,
}
Fields§
§id: Option<String>
§addr: i64
§hotpluggable: bool
§hotplugged: bool
§memdev: String
§node: i64
§size: i64
§slot: i64
Trait Implementations§
source§impl AsRef<PCDIMMDeviceInfo> for PCDIMMDeviceInfoWrapper
impl AsRef<PCDIMMDeviceInfo> for PCDIMMDeviceInfoWrapper
source§fn as_ref(&self) -> &PCDIMMDeviceInfo
fn as_ref(&self) -> &PCDIMMDeviceInfo
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for PCDIMMDeviceInfo
impl Clone for PCDIMMDeviceInfo
source§fn clone(&self) -> PCDIMMDeviceInfo
fn clone(&self) -> PCDIMMDeviceInfo
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 PCDIMMDeviceInfo
impl Debug for PCDIMMDeviceInfo
source§impl<'de> Deserialize<'de> for PCDIMMDeviceInfo
impl<'de> Deserialize<'de> for PCDIMMDeviceInfo
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 PCDIMMDeviceInfo
impl Send for PCDIMMDeviceInfo
impl Sync for PCDIMMDeviceInfo
impl Unpin for PCDIMMDeviceInfo
impl UnwindSafe for PCDIMMDeviceInfo
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