pub enum EventDelegation {
NotDelegated,
InvalidDelegation(String),
DelegatedBy(PublicKey),
}
Expand description
Delegation information for an Event
Variants§
NotDelegated
The event was not delegated
InvalidDelegation(String)
The delegation was invalid (with reason)
DelegatedBy(PublicKey)
The event was delegated and is valid (with pubkey of delegator)
Trait Implementations§
source§impl Clone for EventDelegation
impl Clone for EventDelegation
source§fn clone(&self) -> EventDelegation
fn clone(&self) -> EventDelegation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EventDelegation
impl Debug for EventDelegation
source§impl PartialEq for EventDelegation
impl PartialEq for EventDelegation
impl Eq for EventDelegation
impl StructuralPartialEq for EventDelegation
Auto Trait Implementations§
impl Freeze for EventDelegation
impl RefUnwindSafe for EventDelegation
impl Send for EventDelegation
impl Sync for EventDelegation
impl Unpin for EventDelegation
impl UnwindSafe for EventDelegation
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)