Struct oci_spec::runtime::WindowsStorageResources
source · pub struct WindowsStorageResources { /* private fields */ }
Expand description
WindowsStorageResources contains storage resource management settings.
Implementations§
source§impl WindowsStorageResources
impl WindowsStorageResources
sourcepub fn set_iops(&mut self, val: Option<u64>) -> &mut Self
pub fn set_iops(&mut self, val: Option<u64>) -> &mut Self
Specifies maximum Iops for the system drive.
sourcepub fn set_bps(&mut self, val: Option<u64>) -> &mut Self
pub fn set_bps(&mut self, val: Option<u64>) -> &mut Self
Specifies maximum bytes per second for the system drive.
sourcepub fn set_sandbox_size(&mut self, val: Option<u64>) -> &mut Self
pub fn set_sandbox_size(&mut self, val: Option<u64>) -> &mut Self
Sandbox size specifies the minimum size of the system drive in bytes.
Trait Implementations§
source§impl Clone for WindowsStorageResources
impl Clone for WindowsStorageResources
source§fn clone(&self) -> WindowsStorageResources
fn clone(&self) -> WindowsStorageResources
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 WindowsStorageResources
impl Debug for WindowsStorageResources
source§impl Default for WindowsStorageResources
impl Default for WindowsStorageResources
source§fn default() -> WindowsStorageResources
fn default() -> WindowsStorageResources
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WindowsStorageResources
impl<'de> Deserialize<'de> for WindowsStorageResources
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 PartialEq for WindowsStorageResources
impl PartialEq for WindowsStorageResources
source§fn eq(&self, other: &WindowsStorageResources) -> bool
fn eq(&self, other: &WindowsStorageResources) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WindowsStorageResources
impl Serialize for WindowsStorageResources
impl Copy for WindowsStorageResources
impl Eq for WindowsStorageResources
impl StructuralPartialEq for WindowsStorageResources
Auto Trait Implementations§
impl Freeze for WindowsStorageResources
impl RefUnwindSafe for WindowsStorageResources
impl Send for WindowsStorageResources
impl Sync for WindowsStorageResources
impl Unpin for WindowsStorageResources
impl UnwindSafe for WindowsStorageResources
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)