[][src]Struct iota_bundle_preview::TransactionBuilder

pub struct TransactionBuilder { /* fields omitted */ }

Methods

impl TransactionBuilder[src]

pub fn new() -> Self[src]

pub fn essence(&self) -> TritBuf[src]

pub fn with_payload(self, payload: Payload) -> Self[src]

pub fn with_address(self, address: Address) -> Self[src]

pub fn with_value(self, value: Value) -> Self[src]

pub fn with_obsolete_tag(self, obsolete_tag: Tag) -> Self[src]

pub fn with_timestamp(self, timestamp: Timestamp) -> Self[src]

pub fn with_index(self, index: Index) -> Self[src]

pub fn with_last_index(self, last_index: Index) -> Self[src]

pub fn with_tag(self, tag: Tag) -> Self[src]

pub fn with_attachment_ts(self, attachment_ts: Timestamp) -> Self[src]

pub fn with_bundle(self, bundle: Hash) -> Self[src]

pub fn with_trunk(self, trunk: Hash) -> Self[src]

pub fn with_branch(self, branch: Hash) -> Self[src]

pub fn with_attachment_lbts(self, attachment_lbts: Timestamp) -> Self[src]

pub fn with_attachment_ubts(self, attachment_ubts: Timestamp) -> Self[src]

pub fn with_nonce(self, nonce: Nonce) -> Self[src]

pub fn build(self) -> Result<Transaction, TransactionError>[src]

Trait Implementations

impl Default for TransactionBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,