#[non_exhaustive]pub enum DeployDiscreteResourceValue {
YamlNumber(String),
String(String),
}Expand description
Raw scalar category for a discrete generic-resource value.
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.
YamlNumber(String)
A YAML numeric scalar retained without numeric interpretation.
String(String)
A YAML string scalar retained without schema-specific interpretation.
Trait Implementations§
Source§impl Clone for DeployDiscreteResourceValue
impl Clone for DeployDiscreteResourceValue
Source§fn clone(&self) -> DeployDiscreteResourceValue
fn clone(&self) -> DeployDiscreteResourceValue
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 DeployDiscreteResourceValue
impl Debug for DeployDiscreteResourceValue
impl Eq for DeployDiscreteResourceValue
impl StructuralPartialEq for DeployDiscreteResourceValue
Auto Trait Implementations§
impl Freeze for DeployDiscreteResourceValue
impl RefUnwindSafe for DeployDiscreteResourceValue
impl Send for DeployDiscreteResourceValue
impl Sync for DeployDiscreteResourceValue
impl Unpin for DeployDiscreteResourceValue
impl UnsafeUnpin for DeployDiscreteResourceValue
impl UnwindSafe for DeployDiscreteResourceValue
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