pub struct TransactionBodyBuilder;Expand description
Transaction body builders for common transaction types
Implementations§
Source§impl TransactionBodyBuilder
impl TransactionBodyBuilder
Sourcepub fn send_tokens(to: Vec<TokenRecipient>) -> Value
pub fn send_tokens(to: Vec<TokenRecipient>) -> Value
Create send tokens transaction body
Sourcepub fn create_identity(url: String, key_book_url: String) -> Value
pub fn create_identity(url: String, key_book_url: String) -> Value
Create create identity transaction body
Sourcepub fn create_key_book(url: String, public_key_hash: String) -> Value
pub fn create_key_book(url: String, public_key_hash: String) -> Value
Create create key book transaction body
Sourcepub fn create_key_page(keys: Vec<KeySpec>) -> Value
pub fn create_key_page(keys: Vec<KeySpec>) -> Value
Create create key page transaction body
Trait Implementations§
Source§impl Clone for TransactionBodyBuilder
impl Clone for TransactionBodyBuilder
Source§fn clone(&self) -> TransactionBodyBuilder
fn clone(&self) -> TransactionBodyBuilder
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 TransactionBodyBuilder
impl Debug for TransactionBodyBuilder
impl Copy for TransactionBodyBuilder
Auto Trait Implementations§
impl Freeze for TransactionBodyBuilder
impl RefUnwindSafe for TransactionBodyBuilder
impl Send for TransactionBodyBuilder
impl Sync for TransactionBodyBuilder
impl Unpin for TransactionBodyBuilder
impl UnwindSafe for TransactionBodyBuilder
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