Enum cedar_policy_core::parser::cst::Slot
source · pub enum Slot {
Principal,
Resource,
Other(SmolStr),
}
Expand description
Template Slots
Variants§
Principal
Slot for Principal Constraints
Resource
Slot for Resource Constraints
Other(SmolStr)
Slot other than one of the valid slots
Implementations§
Trait Implementations§
source§impl PartialEq for Slot
impl PartialEq for Slot
impl Eq for Slot
impl StructuralPartialEq for Slot
Auto Trait Implementations§
impl Freeze for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnwindSafe for Slot
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