pub struct SmartTransferUpdateTicketTerm {
pub asset: String,
pub amount: f64,
pub from_network_id: String,
pub to_network_id: String,
}
Fields§
§asset: String
Asset name
amount: f64
Amount
from_network_id: String
Identifier of the origination Network Profile
to_network_id: String
Identifier of the destination Network Profile
Implementations§
Trait Implementations§
Source§impl Clone for SmartTransferUpdateTicketTerm
impl Clone for SmartTransferUpdateTicketTerm
Source§fn clone(&self) -> SmartTransferUpdateTicketTerm
fn clone(&self) -> SmartTransferUpdateTicketTerm
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 Default for SmartTransferUpdateTicketTerm
impl Default for SmartTransferUpdateTicketTerm
Source§fn default() -> SmartTransferUpdateTicketTerm
fn default() -> SmartTransferUpdateTicketTerm
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SmartTransferUpdateTicketTerm
impl<'de> Deserialize<'de> for SmartTransferUpdateTicketTerm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SmartTransferUpdateTicketTerm
impl PartialEq for SmartTransferUpdateTicketTerm
Source§fn eq(&self, other: &SmartTransferUpdateTicketTerm) -> bool
fn eq(&self, other: &SmartTransferUpdateTicketTerm) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SmartTransferUpdateTicketTerm
Auto Trait Implementations§
impl Freeze for SmartTransferUpdateTicketTerm
impl RefUnwindSafe for SmartTransferUpdateTicketTerm
impl Send for SmartTransferUpdateTicketTerm
impl Sync for SmartTransferUpdateTicketTerm
impl Unpin for SmartTransferUpdateTicketTerm
impl UnwindSafe for SmartTransferUpdateTicketTerm
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