Struct cedar_policy_core::parser::cst::And
source · pub struct And {
pub initial: ASTNode<Option<Relation>>,
pub extended: Vec<ASTNode<Option<Relation>>>,
}
Expand description
Logical And
Fields§
§initial: ASTNode<Option<Relation>>
a singleton is a wrapper for a higher-priority node
extended: Vec<ASTNode<Option<Relation>>>
additional elements represent a chained &&
computation
Trait Implementations§
source§impl TryFrom<And> for Expr
impl TryFrom<And> for Expr
§type Error = ParseErrors
type Error = ParseErrors
The type returned in the event of a conversion error.
impl Eq for And
impl StructuralEq for And
impl StructuralPartialEq for And
Auto Trait Implementations§
impl RefUnwindSafe for And
impl Send for And
impl Sync for And
impl Unpin for And
impl UnwindSafe for And
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