#[non_exhaustive]pub enum DeployResourceMemoryKind {
Documented {
amount_raw: String,
unit: DeployResourceMemoryUnit,
},
Zero {
amount_raw: String,
unit: Option<DeployResourceMemoryUnit>,
},
Expression,
ProviderDependentString,
}Expand description
Raw-preserving semantic family of a deploy resource memory string.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Documented
A string ending in one documented lowercase byte suffix.
Fields
§
unit: DeployResourceMemoryUnitExact documented suffix family.
Zero
An all-zero amount spelling whose runtime meaning is not inferred.
Fields
§
unit: Option<DeployResourceMemoryUnit>Documented suffix when one was present.
Expression
A dollar-bearing string deferred to Compose interpolation.
ProviderDependentString
A string outside the documented lowercase-suffix family.
Trait Implementations§
Source§impl Clone for DeployResourceMemoryKind
impl Clone for DeployResourceMemoryKind
Source§fn clone(&self) -> DeployResourceMemoryKind
fn clone(&self) -> DeployResourceMemoryKind
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 moreSource§impl Debug for DeployResourceMemoryKind
impl Debug for DeployResourceMemoryKind
impl Eq for DeployResourceMemoryKind
Source§impl PartialEq for DeployResourceMemoryKind
impl PartialEq for DeployResourceMemoryKind
impl StructuralPartialEq for DeployResourceMemoryKind
Auto Trait Implementations§
impl Freeze for DeployResourceMemoryKind
impl RefUnwindSafe for DeployResourceMemoryKind
impl Send for DeployResourceMemoryKind
impl Sync for DeployResourceMemoryKind
impl Unpin for DeployResourceMemoryKind
impl UnsafeUnpin for DeployResourceMemoryKind
impl UnwindSafe for DeployResourceMemoryKind
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