pub enum TransactionDocumentBuilder<'a> {
V10(TransactionDocumentV10Builder<'a>),
}Expand description
Transaction document builder.
Variants§
V10(TransactionDocumentV10Builder<'a>)
Trait Implementations§
Source§impl<'a> Clone for TransactionDocumentBuilder<'a>
impl<'a> Clone for TransactionDocumentBuilder<'a>
Source§fn clone(&self) -> TransactionDocumentBuilder<'a>
fn clone(&self) -> TransactionDocumentBuilder<'a>
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<'a> Debug for TransactionDocumentBuilder<'a>
impl<'a> Debug for TransactionDocumentBuilder<'a>
Source§impl<'a> TextDocumentBuilder for TransactionDocumentBuilder<'a>
impl<'a> TextDocumentBuilder for TransactionDocumentBuilder<'a>
Source§type Document = TransactionDocument
type Document = TransactionDocument
Type of the builded document.
Source§type Signator = SignatorEnum
type Signator = SignatorEnum
Type of the signator signing the documents.
Source§fn build_with_text_and_sigs(
self,
text: String,
signatures: SmallVec<[<<Self::Document as Document>::PublicKey as PublicKey>::Signature; 1]>,
) -> TransactionDocument
fn build_with_text_and_sigs( self, text: String, signatures: SmallVec<[<<Self::Document as Document>::PublicKey as PublicKey>::Signature; 1]>, ) -> TransactionDocument
Build a document with provided text and signatures.
Source§fn generate_text(&self) -> String
fn generate_text(&self) -> String
Generate document text. Read more
Auto Trait Implementations§
impl<'a> Freeze for TransactionDocumentBuilder<'a>
impl<'a> RefUnwindSafe for TransactionDocumentBuilder<'a>
impl<'a> Send for TransactionDocumentBuilder<'a>
impl<'a> Sync for TransactionDocumentBuilder<'a>
impl<'a> Unpin for TransactionDocumentBuilder<'a>
impl<'a> UnwindSafe for TransactionDocumentBuilder<'a>
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> DocumentBuilder for Twhere
T: TextDocumentBuilder,
impl<T> DocumentBuilder for Twhere
T: TextDocumentBuilder,
Source§type Document = <T as TextDocumentBuilder>::Document
type Document = <T as TextDocumentBuilder>::Document
Type of the builded document.
Source§type Signator = <T as TextDocumentBuilder>::Signator
type Signator = <T as TextDocumentBuilder>::Signator
Type of the signator signing the documents.
Source§fn build_and_sign(
self,
signators: Vec<<T as DocumentBuilder>::Signator>,
) -> <T as DocumentBuilder>::Document
fn build_and_sign( self, signators: Vec<<T as DocumentBuilder>::Signator>, ) -> <T as DocumentBuilder>::Document
Build a document and sign it with the private key.
Source§fn build_with_signature(
self,
signatures: SmallVec<[<<<T as DocumentBuilder>::Document as Document>::PublicKey as PublicKey>::Signature; 1]>,
) -> <T as DocumentBuilder>::Document
fn build_with_signature( self, signatures: SmallVec<[<<<T as DocumentBuilder>::Document as Document>::PublicKey as PublicKey>::Signature; 1]>, ) -> <T as DocumentBuilder>::Document
Build a document with provided signatures.
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