pub struct DelegationLinkBody {
pub capability_id: String,
pub delegator: PublicKey,
pub delegatee: PublicKey,
pub attenuations: Vec<Attenuation>,
pub timestamp: u64,
}Expand description
The body of a delegation link, used as the signing input.
Fields§
§capability_id: String§delegator: PublicKey§delegatee: PublicKey§attenuations: Vec<Attenuation>§timestamp: u64Trait Implementations§
Source§impl Clone for DelegationLinkBody
impl Clone for DelegationLinkBody
Source§fn clone(&self) -> DelegationLinkBody
fn clone(&self) -> DelegationLinkBody
Returns a duplicate 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 DelegationLinkBody
impl Debug for DelegationLinkBody
Source§impl<'de> Deserialize<'de> for DelegationLinkBody
impl<'de> Deserialize<'de> for DelegationLinkBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DelegationLinkBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DelegationLinkBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DelegationLinkBody
impl Serialize for DelegationLinkBody
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for DelegationLinkBody
impl RefUnwindSafe for DelegationLinkBody
impl Send for DelegationLinkBody
impl Sync for DelegationLinkBody
impl Unpin for DelegationLinkBody
impl UnsafeUnpin for DelegationLinkBody
impl UnwindSafe for DelegationLinkBody
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