pub enum DelegationPayload {
Grant(DelegationGrantPayload),
Revoke(DelegationRevokePayload),
}Variants§
Grant(DelegationGrantPayload)
Revoke(DelegationRevokePayload)
Trait Implementations§
Source§impl Clone for DelegationPayload
impl Clone for DelegationPayload
Source§fn clone(&self) -> DelegationPayload
fn clone(&self) -> DelegationPayload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DelegationPayload
impl Debug for DelegationPayload
Source§impl<'de> Deserialize<'de> for DelegationPayload
impl<'de> Deserialize<'de> for DelegationPayload
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 DelegationPayload
impl PartialEq for DelegationPayload
Source§impl Serialize for DelegationPayload
impl Serialize for DelegationPayload
impl StructuralPartialEq for DelegationPayload
Auto Trait Implementations§
impl Freeze for DelegationPayload
impl RefUnwindSafe for DelegationPayload
impl Send for DelegationPayload
impl Sync for DelegationPayload
impl Unpin for DelegationPayload
impl UnsafeUnpin for DelegationPayload
impl UnwindSafe for DelegationPayload
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