pub struct TransferInfo {
pub ledger_id: String,
pub from_account_id: Vec<u8>,
pub to_account_id: Vec<u8>,
pub amount: u64,
pub nonce: u64,
}
Fields§
§ledger_id: String
§from_account_id: Vec<u8>
§to_account_id: Vec<u8>
§amount: u64
§nonce: u64
Trait Implementations§
Source§impl Clone for TransferInfo
impl Clone for TransferInfo
Source§fn clone(&self) -> TransferInfo
fn clone(&self) -> TransferInfo
Returns a duplicate 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 TransferInfo
impl Debug for TransferInfo
Auto Trait Implementations§
impl Freeze for TransferInfo
impl RefUnwindSafe for TransferInfo
impl Send for TransferInfo
impl Sync for TransferInfo
impl Unpin for TransferInfo
impl UnwindSafe for TransferInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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