pub enum SubstitutionOutcome {
Environment,
Default,
Alternative,
Empty,
Missing,
RequiredMissing,
}Expand description
How one expression contributed to the resolved value.
Variants§
Environment
An environment value was inserted.
Default
A default operand was inserted.
Alternative
An alternative operand was inserted.
Empty
The expression intentionally produced an empty string.
Missing
A direct variable was unset.
RequiredMissing
A required variable was unset or empty.
Trait Implementations§
Source§impl Clone for SubstitutionOutcome
impl Clone for SubstitutionOutcome
Source§fn clone(&self) -> SubstitutionOutcome
fn clone(&self) -> SubstitutionOutcome
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 moreimpl Copy for SubstitutionOutcome
Source§impl Debug for SubstitutionOutcome
impl Debug for SubstitutionOutcome
impl Eq for SubstitutionOutcome
Source§impl Hash for SubstitutionOutcome
impl Hash for SubstitutionOutcome
Source§impl PartialEq for SubstitutionOutcome
impl PartialEq for SubstitutionOutcome
impl StructuralPartialEq for SubstitutionOutcome
Auto Trait Implementations§
impl Freeze for SubstitutionOutcome
impl RefUnwindSafe for SubstitutionOutcome
impl Send for SubstitutionOutcome
impl Sync for SubstitutionOutcome
impl Unpin for SubstitutionOutcome
impl UnsafeUnpin for SubstitutionOutcome
impl UnwindSafe for SubstitutionOutcome
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