pub struct MassTransferTransactionInfo { /* private fields */ }Implementations§
Source§impl MassTransferTransactionInfo
impl MassTransferTransactionInfo
pub fn new( asset_id: Option<AssetId>, transfers: Vec<Transfer>, attachment: Base58String, transfer_count: u32, total_amount: u64, ) -> Self
pub fn tx_type() -> u8
pub fn asset_id(&self) -> Option<AssetId>
pub fn transfers(&self) -> Vec<Transfer>
pub fn attachment(&self) -> Base58String
pub fn transfer_count(&self) -> u32
pub fn total_amount(&self) -> u64
Trait Implementations§
Source§impl Clone for MassTransferTransactionInfo
impl Clone for MassTransferTransactionInfo
Source§fn clone(&self) -> MassTransferTransactionInfo
fn clone(&self) -> MassTransferTransactionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MassTransferTransactionInfo
impl Debug for MassTransferTransactionInfo
impl Eq for MassTransferTransactionInfo
Source§impl PartialEq for MassTransferTransactionInfo
impl PartialEq for MassTransferTransactionInfo
Source§fn eq(&self, other: &MassTransferTransactionInfo) -> bool
fn eq(&self, other: &MassTransferTransactionInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MassTransferTransactionInfo
Auto Trait Implementations§
impl Freeze for MassTransferTransactionInfo
impl RefUnwindSafe for MassTransferTransactionInfo
impl Send for MassTransferTransactionInfo
impl Sync for MassTransferTransactionInfo
impl Unpin for MassTransferTransactionInfo
impl UnsafeUnpin for MassTransferTransactionInfo
impl UnwindSafe for MassTransferTransactionInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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