pub enum AttestationTarget {
Agreement(AgreementId),
DocumentHash([u8; 32]),
Signature(SignatureId),
IpAction(IpAssetId),
}Expand description
Target of an attestation
Variants§
Agreement(AgreementId)
Attest to an agreement
DocumentHash([u8; 32])
Attest to a document hash
Signature(SignatureId)
Attest to a signature
IpAction(IpAssetId)
Attest to an IP action
Trait Implementations§
Source§impl Clone for AttestationTarget
impl Clone for AttestationTarget
Source§fn clone(&self) -> AttestationTarget
fn clone(&self) -> AttestationTarget
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 AttestationTarget
impl Debug for AttestationTarget
Source§impl<'de> Deserialize<'de> for AttestationTarget
impl<'de> Deserialize<'de> for AttestationTarget
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 AttestationTarget
impl PartialEq for AttestationTarget
Source§fn eq(&self, other: &AttestationTarget) -> bool
fn eq(&self, other: &AttestationTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttestationTarget
impl Serialize for AttestationTarget
impl Eq for AttestationTarget
impl StructuralPartialEq for AttestationTarget
Auto Trait Implementations§
impl Freeze for AttestationTarget
impl RefUnwindSafe for AttestationTarget
impl Send for AttestationTarget
impl Sync for AttestationTarget
impl Unpin for AttestationTarget
impl UnsafeUnpin for AttestationTarget
impl UnwindSafe for AttestationTarget
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