Struct waves_rust::model::transaction::TransferTransaction
source · pub struct TransferTransaction { /* private fields */ }Implementations§
source§impl TransferTransaction
impl TransferTransaction
pub fn new(
recipient: Address,
amount: Amount,
attachment: Base58String
) -> TransferTransaction
pub fn recipient(&self) -> Address
pub fn amount(&self) -> Amount
pub fn attachment(&self) -> Base58String
pub fn tx_type() -> u8
Trait Implementations§
source§impl Clone for TransferTransaction
impl Clone for TransferTransaction
source§fn clone(&self) -> TransferTransaction
fn clone(&self) -> TransferTransaction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TransferTransaction
impl Debug for TransferTransaction
source§impl PartialEq<TransferTransaction> for TransferTransaction
impl PartialEq<TransferTransaction> for TransferTransaction
source§fn eq(&self, other: &TransferTransaction) -> bool
fn eq(&self, other: &TransferTransaction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&Value> for TransferTransaction
impl TryFrom<&Value> for TransferTransaction
impl Eq for TransferTransaction
impl StructuralEq for TransferTransaction
impl StructuralPartialEq for TransferTransaction
Auto Trait Implementations§
impl RefUnwindSafe for TransferTransaction
impl Send for TransferTransaction
impl Sync for TransferTransaction
impl Unpin for TransferTransaction
impl UnwindSafe for TransferTransaction
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request