pub enum ConditionExpr {
Equals(ValueExpr, ValueExpr),
And(Vec<ConditionExpr>),
Or(Vec<ConditionExpr>),
Not(Box<ConditionExpr>),
ConditionRef(String),
Invalid,
}Variants§
Equals(ValueExpr, ValueExpr)
And(Vec<ConditionExpr>)
Or(Vec<ConditionExpr>)
Not(Box<ConditionExpr>)
ConditionRef(String)
Invalid
A condition body that does not produce a boolean (e.g. a bare Fn::Ref,
a scalar, or a value-producing function). CloudFormation rejects it; it is
reported as a not-a-boolean error and is deliberately opaque to the SAT
model and to the undefined-reference check (it is not a condition
reference).
Trait Implementations§
Source§impl Clone for ConditionExpr
impl Clone for ConditionExpr
Source§fn clone(&self) -> ConditionExpr
fn clone(&self) -> ConditionExpr
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 moreAuto Trait Implementations§
impl Freeze for ConditionExpr
impl RefUnwindSafe for ConditionExpr
impl Send for ConditionExpr
impl Sync for ConditionExpr
impl Unpin for ConditionExpr
impl UnsafeUnpin for ConditionExpr
impl UnwindSafe for ConditionExpr
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