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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,