pub enum AllowanceEvent {
Proposal(AllowanceProposal),
Acceptance(AllowanceAcceptance),
Rejection(AllowanceRejection),
End(AllowanceEnd),
}Expand description
Any V1 Allowance lifecycle Event Message.
Variants§
Proposal(AllowanceProposal)
Proposal event.
Acceptance(AllowanceAcceptance)
Acceptance event.
Rejection(AllowanceRejection)
Rejection event.
End(AllowanceEnd)
End event.
Implementations§
Source§impl AllowanceEvent
impl AllowanceEvent
Sourcepub fn kind(&self) -> PrivateMessageKind
pub fn kind(&self) -> PrivateMessageKind
Access the Private Message Kind.
Sourcepub fn allowance_id(&self) -> &AllowanceId
pub fn allowance_id(&self) -> &AllowanceId
Access the Allowance ID.
Trait Implementations§
Source§impl Clone for AllowanceEvent
impl Clone for AllowanceEvent
Source§impl Debug for AllowanceEvent
impl Debug for AllowanceEvent
impl Eq for AllowanceEvent
Source§impl PartialEq for AllowanceEvent
impl PartialEq for AllowanceEvent
impl StructuralPartialEq for AllowanceEvent
Auto Trait Implementations§
impl Freeze for AllowanceEvent
impl RefUnwindSafe for AllowanceEvent
impl Send for AllowanceEvent
impl Sync for AllowanceEvent
impl Unpin for AllowanceEvent
impl UnsafeUnpin for AllowanceEvent
impl UnwindSafe for AllowanceEvent
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