Struct qapi_qmp::NumaNodeOptions
source · pub struct NumaNodeOptions {
pub cpus: Option<Vec<u16>>,
pub initiator: Option<u16>,
pub mem: Option<u64>,
pub memdev: Option<String>,
pub nodeid: Option<u16>,
}
Fields§
§cpus: Option<Vec<u16>>
§initiator: Option<u16>
§mem: Option<u64>
§memdev: Option<String>
§nodeid: Option<u16>
Trait Implementations§
source§impl Clone for NumaNodeOptions
impl Clone for NumaNodeOptions
source§fn clone(&self) -> NumaNodeOptions
fn clone(&self) -> NumaNodeOptions
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 NumaNodeOptions
impl Debug for NumaNodeOptions
source§impl Default for NumaNodeOptions
impl Default for NumaNodeOptions
source§fn default() -> NumaNodeOptions
fn default() -> NumaNodeOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NumaNodeOptions
impl<'de> Deserialize<'de> for NumaNodeOptions
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
source§impl From<NumaNodeOptions> for NumaOptions
impl From<NumaNodeOptions> for NumaOptions
source§fn from(val: NumaNodeOptions) -> Self
fn from(val: NumaNodeOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NumaNodeOptions
impl RefUnwindSafe for NumaNodeOptions
impl Send for NumaNodeOptions
impl Sync for NumaNodeOptions
impl Unpin for NumaNodeOptions
impl UnwindSafe for NumaNodeOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)