[][src]Struct iota_bundle_preview::Transaction

pub struct Transaction { /* fields omitted */ }

Methods

impl Transaction[src]

pub fn from_trits(
    buffer: &Trits<impl RawEncoding<Trit = Btrit> + ?Sized>
) -> Result<Self, TransactionError>
[src]

pub fn into_trits_allocated(&self, buf: &mut Trits<T1B1>)[src]

pub fn payload(&self) -> &Payload[src]

pub fn address(&self) -> &Address[src]

pub fn value(&self) -> &Value[src]

pub fn obsolete_tag(&self) -> &Tag[src]

pub fn timestamp(&self) -> &Timestamp[src]

pub fn index(&self) -> &Index[src]

pub fn last_index(&self) -> &Index[src]

pub fn bundle(&self) -> &Hash[src]

pub fn trunk(&self) -> &Hash[src]

pub fn branch(&self) -> &Hash[src]

pub fn tag(&self) -> &Tag[src]

pub fn attachment_ts(&self) -> &Timestamp[src]

pub fn attachment_lbts(&self) -> &Timestamp[src]

pub fn attachment_ubts(&self) -> &Timestamp[src]

pub fn nonce(&self) -> &Nonce[src]

pub fn is_tail(&self) -> bool[src]

pub fn is_head(&self) -> bool[src]

pub fn get_timestamp(&self) -> u64[src]

pub const fn trit_len() -> usize[src]

Trait Implementations

impl Clone for Transaction[src]

impl Debug for Transaction[src]

impl Eq for Transaction[src]

impl PartialEq<Transaction> for Transaction[src]

impl StructuralPartialEq for Transaction[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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