pub struct ActionAllowance {
pub action: RecoveryActionKind,
pub allowed: bool,
pub refusal: Option<RecoveryRejection>,
}Expand description
Whether one recovery action is allowed now: allowed, and the refusal it
would meet, present exactly when it is not.
Fields§
§action: RecoveryActionKindOne shape of the contracts, which say nothing more about it.
allowed: boolWhether it is allowed now.
refusal: Option<RecoveryRejection>One shape of the contracts, which say nothing more about it.
Trait Implementations§
Source§impl Clone for ActionAllowance
impl Clone for ActionAllowance
Source§impl Debug for ActionAllowance
impl Debug for ActionAllowance
Source§impl<'de> Deserialize<'de> for ActionAllowance
impl<'de> Deserialize<'de> for ActionAllowance
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
Source§impl PartialEq for ActionAllowance
impl PartialEq for ActionAllowance
Source§impl Serialize for ActionAllowance
impl Serialize for ActionAllowance
impl StructuralPartialEq for ActionAllowance
Auto Trait Implementations§
impl Freeze for ActionAllowance
impl RefUnwindSafe for ActionAllowance
impl Send for ActionAllowance
impl Sync for ActionAllowance
impl Unpin for ActionAllowance
impl UnsafeUnpin for ActionAllowance
impl UnwindSafe for ActionAllowance
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