pub struct CompactRevocationDocumentV10 {
pub issuer: PublicKey,
pub signature: Signature,
}Expand description
Wrap an Compact Revocation document (in block content)
Fields§
§issuer: PublicKeyIssuer
signature: SignatureSignature
Trait Implementations§
Source§impl Clone for CompactRevocationDocumentV10
impl Clone for CompactRevocationDocumentV10
Source§fn clone(&self) -> CompactRevocationDocumentV10
fn clone(&self) -> CompactRevocationDocumentV10
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 CompactTextDocument for CompactRevocationDocumentV10
impl CompactTextDocument for CompactRevocationDocumentV10
Source§fn as_compact_text(&self) -> String
fn as_compact_text(&self) -> String
Generate document compact text.
the compact format is the one used in the blocks. Read more
Source§impl Debug for CompactRevocationDocumentV10
impl Debug for CompactRevocationDocumentV10
Source§impl<'de> Deserialize<'de> for CompactRevocationDocumentV10
impl<'de> Deserialize<'de> for CompactRevocationDocumentV10
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 CompactRevocationDocumentV10
impl PartialEq for CompactRevocationDocumentV10
Source§fn eq(&self, other: &CompactRevocationDocumentV10) -> bool
fn eq(&self, other: &CompactRevocationDocumentV10) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ToStringObject for CompactRevocationDocumentV10
impl ToStringObject for CompactRevocationDocumentV10
Source§fn to_string_object(&self) -> CompactRevocationDocumentV10Stringified
fn to_string_object(&self) -> CompactRevocationDocumentV10Stringified
Transforms an object into a json object
Source§type StringObject = CompactRevocationDocumentV10Stringified
type StringObject = CompactRevocationDocumentV10Stringified
Generated string object
impl Copy for CompactRevocationDocumentV10
impl Eq for CompactRevocationDocumentV10
impl StructuralPartialEq for CompactRevocationDocumentV10
Auto Trait Implementations§
impl Freeze for CompactRevocationDocumentV10
impl RefUnwindSafe for CompactRevocationDocumentV10
impl Send for CompactRevocationDocumentV10
impl Sync for CompactRevocationDocumentV10
impl Unpin for CompactRevocationDocumentV10
impl UnwindSafe for CompactRevocationDocumentV10
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more