pub enum ComposeScalar {
Null,
Boolean(bool),
Number(String),
String(String),
}Expand description
A YAML scalar retained without applying Compose interpolation or coercion.
Variants§
Null
An explicit YAML null.
Boolean(bool)
A YAML boolean.
Number(String)
A numeric scalar with its authored semantic spelling retained.
String(String)
A string scalar, which may still contain interpolation expressions.
Trait Implementations§
Source§impl Clone for ComposeScalar
impl Clone for ComposeScalar
Source§fn clone(&self) -> ComposeScalar
fn clone(&self) -> ComposeScalar
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 ComposeScalar
impl Debug for ComposeScalar
impl Eq for ComposeScalar
Source§impl PartialEq for ComposeScalar
impl PartialEq for ComposeScalar
impl StructuralPartialEq for ComposeScalar
Auto Trait Implementations§
impl Freeze for ComposeScalar
impl RefUnwindSafe for ComposeScalar
impl Send for ComposeScalar
impl Sync for ComposeScalar
impl Unpin for ComposeScalar
impl UnsafeUnpin for ComposeScalar
impl UnwindSafe for ComposeScalar
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