pub enum GuardKind {
Authorization,
Freshness,
Reservation,
Policy,
}Expand description
Role a guard plays on an action’s dominating path.
Variants§
Authorization
Caller may perform the effect.
Freshness
Inputs are recent enough.
Reservation
Resources are reserved and fenced.
Policy
Product policy allows it.
Trait Implementations§
impl Copy for GuardKind
Source§impl<'de> Deserialize<'de> for GuardKind
impl<'de> Deserialize<'de> for GuardKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GuardKind
Source§impl Ord for GuardKind
impl Ord for GuardKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for GuardKind
impl PartialOrd for GuardKind
impl StructuralPartialEq for GuardKind
Auto Trait Implementations§
impl Freeze for GuardKind
impl RefUnwindSafe for GuardKind
impl Send for GuardKind
impl Sync for GuardKind
impl Unpin for GuardKind
impl UnsafeUnpin for GuardKind
impl UnwindSafe for GuardKind
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