Struct fractal_dto::GenerateTransactionDTO
[−]
[src]
pub struct GenerateTransactionDTO { pub origin_id: u64, pub destination_address: WalletAddress, pub destination_id: u64, pub amount: Amount, }
Struct used to generate a transaction
Fields
origin_id: u64
Where the transaction originated
destination_address: WalletAddress
The destination wallet address of the transaction
destination_id: u64
Who the transaction is going to
amount: Amount
The amount of the transaction
Trait Implementations
impl Decodable for GenerateTransactionDTO
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<GenerateTransactionDTO, __D::Error>
impl Encodable for GenerateTransactionDTO
[src]
impl Clone for GenerateTransactionDTO
[src]
fn clone(&self) -> GenerateTransactionDTO
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more