#[non_exhaustive]pub enum ApprovalState {
Pending,
Approved,
Denied,
Revoked,
Cancelled,
Expired,
Claimed,
Settled,
}Expand description
Where a request is.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Pending
Approved
Denied
Revoked
Cancelled
Expired
Claimed
Claimed for execution; the effect may be running or may have run.
Settled
Done; see ApprovalRecord::outcome.
Implementations§
Trait Implementations§
Source§impl Clone for ApprovalState
impl Clone for ApprovalState
impl Copy for ApprovalState
Source§impl Debug for ApprovalState
impl Debug for ApprovalState
Source§impl<'de> Deserialize<'de> for ApprovalState
impl<'de> Deserialize<'de> for ApprovalState
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 ApprovalState
Source§impl PartialEq for ApprovalState
impl PartialEq for ApprovalState
Source§impl Serialize for ApprovalState
impl Serialize for ApprovalState
impl StructuralPartialEq for ApprovalState
Auto Trait Implementations§
impl Freeze for ApprovalState
impl RefUnwindSafe for ApprovalState
impl Send for ApprovalState
impl Sync for ApprovalState
impl Unpin for ApprovalState
impl UnsafeUnpin for ApprovalState
impl UnwindSafe for ApprovalState
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