Struct fractal_dto::v1::transactions::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 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
impl Encodable for GenerateTransactionDTO[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder.
impl Decodable for GenerateTransactionDTO[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<GenerateTransactionDTO, __D::Error>
Deserialize a value using a Decoder.