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