pub struct CheckpointGeometry {
pub vcpus: u8,
pub max_vcpus: u8,
pub memory_mib: u32,
pub max_memory_mib: u32,
}Expand description
Original construction layout, independent of live CPU/memory resize targets.
Fields§
§vcpus: u8CPU count supplied at construction, not the current online count.
max_vcpus: u8Number of possible CPUs constructed for this VM.
memory_mib: u32Initially populated RAM in MiB; hotplug RAM occupies a separate address range.
max_memory_mib: u32Reserved RAM capacity in MiB, including the initial RAM.
Trait Implementations§
Source§impl Clone for CheckpointGeometry
impl Clone for CheckpointGeometry
Source§fn clone(&self) -> CheckpointGeometry
fn clone(&self) -> CheckpointGeometry
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 moreimpl Copy for CheckpointGeometry
Source§impl Debug for CheckpointGeometry
impl Debug for CheckpointGeometry
Source§impl<'de> Deserialize<'de> for CheckpointGeometry
impl<'de> Deserialize<'de> for CheckpointGeometry
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
impl Eq for CheckpointGeometry
Source§impl PartialEq for CheckpointGeometry
impl PartialEq for CheckpointGeometry
Source§impl Serialize for CheckpointGeometry
impl Serialize for CheckpointGeometry
impl StructuralPartialEq for CheckpointGeometry
Auto Trait Implementations§
impl Freeze for CheckpointGeometry
impl RefUnwindSafe for CheckpointGeometry
impl Send for CheckpointGeometry
impl Sync for CheckpointGeometry
impl Unpin for CheckpointGeometry
impl UnsafeUnpin for CheckpointGeometry
impl UnwindSafe for CheckpointGeometry
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