pub struct RevocationDocument { /* private fields */ }Expand description
Wrap an Revocation document.
Must be created by parsing a text document or using a builder.
Implementations§
Source§impl RevocationDocument
impl RevocationDocument
Sourcepub fn identity_username(&self) -> &str
pub fn identity_username(&self) -> &str
Username of target identity
Trait Implementations§
Source§impl Clone for RevocationDocument
impl Clone for RevocationDocument
Source§fn clone(&self) -> RevocationDocument
fn clone(&self) -> RevocationDocument
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 RevocationDocument
impl Debug for RevocationDocument
Source§impl Document for RevocationDocument
impl Document for RevocationDocument
Source§type CurrencyType = str
type CurrencyType = str
Data type of the currency code used by the document.
Source§fn signatures(&self) -> &Vec<Signature>
fn signatures(&self) -> &Vec<Signature>
Iterate over document signatures.
Source§fn verify_signatures(&self) -> VerificationResult
fn verify_signatures(&self) -> VerificationResult
Verify signatures of document content (as text format)
Source§impl IntoSpecializedDocument<BlockchainProtocol> for RevocationDocument
impl IntoSpecializedDocument<BlockchainProtocol> for RevocationDocument
Source§fn into_specialized(self) -> BlockchainProtocol
fn into_specialized(self) -> BlockchainProtocol
Get a protocol-specific document wrapped in an enum variant.
Source§impl TextDocument for RevocationDocument
impl TextDocument for RevocationDocument
Source§fn generate_compact_text(&self) -> String
fn generate_compact_text(&self) -> String
Generate document compact text.
the compact format is the one used in the blocks. Read more
Source§fn as_text_with_signatures(&self) -> String
fn as_text_with_signatures(&self) -> String
Return document as text with leading signatures.
Auto Trait Implementations§
impl Freeze for RevocationDocument
impl RefUnwindSafe for RevocationDocument
impl Send for RevocationDocument
impl Sync for RevocationDocument
impl Unpin for RevocationDocument
impl UnwindSafe for RevocationDocument
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