pub enum ConsentState {
Pending,
Granted,
Withdrawn,
NotRequired,
}Expand description
Consent state of the principal. Fail-closed: Pending is not effective.
Variants§
Pending
Granted
Withdrawn
NotRequired
The delegation’s origination doesn’t require the principal’s consent (e.g. adjudicated).
Trait Implementations§
Source§impl Clone for ConsentState
impl Clone for ConsentState
impl Copy for ConsentState
Source§impl Debug for ConsentState
impl Debug for ConsentState
Source§impl Default for ConsentState
impl Default for ConsentState
Source§impl<'de> Deserialize<'de> for ConsentState
impl<'de> Deserialize<'de> for ConsentState
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 ConsentState
Source§impl PartialEq for ConsentState
impl PartialEq for ConsentState
Source§impl Serialize for ConsentState
impl Serialize for ConsentState
impl StructuralPartialEq for ConsentState
Auto Trait Implementations§
impl Freeze for ConsentState
impl RefUnwindSafe for ConsentState
impl Send for ConsentState
impl Sync for ConsentState
impl Unpin for ConsentState
impl UnsafeUnpin for ConsentState
impl UnwindSafe for ConsentState
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