pub struct PlatformResourcesConfig {
pub max_vcpus: u32,
pub assigned_vcpus: u32,
pub max_memory_mb: u64,
pub assigned_memory_mb: u64,
}
Fields§
§max_vcpus: u32
§assigned_vcpus: u32
§max_memory_mb: u64
§assigned_memory_mb: u64
Trait Implementations§
Source§impl Clone for PlatformResourcesConfig
impl Clone for PlatformResourcesConfig
Source§fn clone(&self) -> PlatformResourcesConfig
fn clone(&self) -> PlatformResourcesConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PlatformResourcesConfig
impl RefUnwindSafe for PlatformResourcesConfig
impl Send for PlatformResourcesConfig
impl Sync for PlatformResourcesConfig
impl Unpin for PlatformResourcesConfig
impl UnwindSafe for PlatformResourcesConfig
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