#[non_exhaustive]pub struct PersistentStorageConfiguration {
pub size_in_gib: i32,
}
Expand description
Information about the configuration of persistent storage for a Dev Environment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.size_in_gib: i32
The size of the persistent storage in gigabytes (specifically GiB).
Valid values for storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.
Implementations§
source§impl PersistentStorageConfiguration
impl PersistentStorageConfiguration
sourcepub fn size_in_gib(&self) -> i32
pub fn size_in_gib(&self) -> i32
The size of the persistent storage in gigabytes (specifically GiB).
Valid values for storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.
source§impl PersistentStorageConfiguration
impl PersistentStorageConfiguration
sourcepub fn builder() -> PersistentStorageConfigurationBuilder
pub fn builder() -> PersistentStorageConfigurationBuilder
Creates a new builder-style object to manufacture PersistentStorageConfiguration
.
Trait Implementations§
source§impl Clone for PersistentStorageConfiguration
impl Clone for PersistentStorageConfiguration
source§fn clone(&self) -> PersistentStorageConfiguration
fn clone(&self) -> PersistentStorageConfiguration
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 PartialEq for PersistentStorageConfiguration
impl PartialEq for PersistentStorageConfiguration
source§fn eq(&self, other: &PersistentStorageConfiguration) -> bool
fn eq(&self, other: &PersistentStorageConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PersistentStorageConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for PersistentStorageConfiguration
impl Send for PersistentStorageConfiguration
impl Sync for PersistentStorageConfiguration
impl Unpin for PersistentStorageConfiguration
impl UnwindSafe for PersistentStorageConfiguration
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.