pub struct CloudSandboxComputeResources {
pub vcpus: u8,
pub memory_mib: u32,
}Expand description
CPU and memory request shared by sources without a managed writable disk.
Fields§
§vcpus: u8Number of virtual CPUs.
memory_mib: u32Guest memory in MiB.
Trait Implementations§
Source§impl Clone for CloudSandboxComputeResources
impl Clone for CloudSandboxComputeResources
Source§fn clone(&self) -> CloudSandboxComputeResources
fn clone(&self) -> CloudSandboxComputeResources
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 CloudSandboxComputeResources
Source§impl Debug for CloudSandboxComputeResources
impl Debug for CloudSandboxComputeResources
Source§impl<'de> Deserialize<'de> for CloudSandboxComputeResourceswhere
CloudSandboxComputeResources: Default,
impl<'de> Deserialize<'de> for CloudSandboxComputeResourceswhere
CloudSandboxComputeResources: Default,
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<CloudSandboxResources> for CloudSandboxComputeResources
impl From<CloudSandboxResources> for CloudSandboxComputeResources
Source§fn from(resources: CloudSandboxResources) -> Self
fn from(resources: CloudSandboxResources) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CloudSandboxComputeResources
impl RefUnwindSafe for CloudSandboxComputeResources
impl Send for CloudSandboxComputeResources
impl Sync for CloudSandboxComputeResources
impl Unpin for CloudSandboxComputeResources
impl UnsafeUnpin for CloudSandboxComputeResources
impl UnwindSafe for CloudSandboxComputeResources
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