pub struct RawHotplugMemoryUpdate {
pub requested_size_mib: u64,
}Expand description
Raw /hotplug/memory PATCH body.
Fields§
§requested_size_mib: u64New requested size in MiB.
Trait Implementations§
Source§impl Clone for RawHotplugMemoryUpdate
impl Clone for RawHotplugMemoryUpdate
Source§fn clone(&self) -> RawHotplugMemoryUpdate
fn clone(&self) -> RawHotplugMemoryUpdate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawHotplugMemoryUpdate
impl Debug for RawHotplugMemoryUpdate
Source§impl<'de> Deserialize<'de> for RawHotplugMemoryUpdate
impl<'de> Deserialize<'de> for RawHotplugMemoryUpdate
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 Freeze for RawHotplugMemoryUpdate
impl RefUnwindSafe for RawHotplugMemoryUpdate
impl Send for RawHotplugMemoryUpdate
impl Sync for RawHotplugMemoryUpdate
impl Unpin for RawHotplugMemoryUpdate
impl UnsafeUnpin for RawHotplugMemoryUpdate
impl UnwindSafe for RawHotplugMemoryUpdate
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