pub enum Cond {
Attribute {
path: AttrPath,
operator: Operator,
value: Option<Value>,
missing: Option<Missing>,
regex: Option<Regex>,
},
And(Vec<Cond>),
Or(Vec<Cond>),
Not(Box<Cond>),
NoElement {
path: AttrPath,
where_cond: Box<Cond>,
},
Connection {
connected_resource_types: Vec<String>,
edge_kinds: Vec<EdgeKind>,
exists: bool,
neighbor_filter: Option<Box<Cond>>,
},
ForbidResource,
}Variants§
Attribute
Fields
§
operator: OperatorAnd(Vec<Cond>)
Or(Vec<Cond>)
Not(Box<Cond>)
NoElement
Connection
Neighbor relationship over IR edges (Checkov-shaped connection).
Fields
ForbidResource
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Cond
impl Freeze for Cond
impl Move for Cond
impl RefUnwindSafe for Cond
impl Send for Cond
impl Sync for Cond
impl Unpin for Cond
impl UnsafeUnpin for Cond
impl UnwindSafe for Cond
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more