[−][src]Struct transact::protocol::transaction::TransactionBuilder
Methods
impl TransactionBuilder
[src]
pub fn new() -> Self
[src]
pub fn with_batcher_public_key(
self,
batcher_public_key: Vec<u8>
) -> TransactionBuilder
[src]
self,
batcher_public_key: Vec<u8>
) -> TransactionBuilder
pub fn with_dependencies(self, dependencies: Vec<Vec<u8>>) -> TransactionBuilder
[src]
pub fn with_family_name(self, family_name: String) -> TransactionBuilder
[src]
pub fn with_family_version(self, family_version: String) -> TransactionBuilder
[src]
pub fn with_inputs(self, inputs: Vec<Vec<u8>>) -> TransactionBuilder
[src]
pub fn with_outputs(self, outputs: Vec<Vec<u8>>) -> TransactionBuilder
[src]
pub fn with_nonce(self, nonce: Vec<u8>) -> TransactionBuilder
[src]
pub fn with_payload_hash_method(
self,
payload_hash_method: HashMethod
) -> TransactionBuilder
[src]
self,
payload_hash_method: HashMethod
) -> TransactionBuilder
pub fn with_payload(self, payload: Vec<u8>) -> TransactionBuilder
[src]
pub fn build_pair(
self,
signer: &dyn Signer
) -> Result<TransactionPair, TransactionBuildError>
[src]
self,
signer: &dyn Signer
) -> Result<TransactionPair, TransactionBuildError>
pub fn build(
self,
signer: &dyn Signer
) -> Result<Transaction, TransactionBuildError>
[src]
self,
signer: &dyn Signer
) -> Result<Transaction, TransactionBuildError>
Trait Implementations
impl Default for TransactionBuilder
[src]
fn default() -> TransactionBuilder
[src]
impl Clone for TransactionBuilder
[src]
fn clone(&self) -> TransactionBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl Send for TransactionBuilder
impl Unpin for TransactionBuilder
impl Sync for TransactionBuilder
impl UnwindSafe for TransactionBuilder
impl RefUnwindSafe for TransactionBuilder
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
impl<'a, T> DefaultFeatures<'a> for T where
T: 'a + Send + Sync + Clone,
T: 'a + Send + Sync + Clone,
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a> + 'a>
fn self_address_mut(&mut self) -> *mut ()
impl<'a, T> NonSyncFeatures<'a> for T where
T: 'a + Clone,
T: 'a + Clone,
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a> + 'a>
fn self_address_mut(&mut self) -> *mut ()
impl<T> Same<T> for T
type Output = T
Should always be Self