Struct algonaut_transaction::builder::Txn[][src]

pub struct Txn { /* fields omitted */ }

A builder for Transaction.

Implementations

impl Txn[src]

pub fn new() -> Self[src]

pub fn fee(self, fee: MicroAlgos) -> Self[src]

pub fn first_valid(self, first_valid: Round) -> Self[src]

pub fn genesis_hash(self, genesis_hash: HashDigest) -> Self[src]

pub fn last_valid(self, last_valid: Round) -> Self[src]

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

pub fn txn_type(self, txn_type: TransactionType) -> Self[src]

pub fn payment(self, txn: Payment) -> Self[src]

pub fn key_registration(self, txn: KeyRegistration) -> Self[src]

pub fn asset_configuration(self, txn: AssetConfigurationTransaction) -> Self[src]

pub fn genesis_id(self, genesis_id: String) -> Self[src]

pub fn group(self, group: HashDigest) -> Self[src]

pub fn lease(self, lease: HashDigest) -> Self[src]

pub fn note(self, note: Vec<u8>) -> Self[src]

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

pub fn build(self) -> Transaction[src]

Trait Implementations

impl Default for Txn[src]

Auto Trait Implementations

impl RefUnwindSafe for Txn

impl Send for Txn

impl Sync for Txn

impl Unpin for Txn

impl UnwindSafe for Txn

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> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,