pub struct NetworkRecord {Show 13 fields
pub source: Option<SourceTransferPeerPathResponse>,
pub destination: Option<DestinationTransferPeerPathResponse>,
pub tx_hash: Option<String>,
pub network_fee: Option<String>,
pub asset_id: Option<String>,
pub net_amount: Option<String>,
pub is_dropped: Option<bool>,
pub type: Option<String>,
pub destination_address: Option<String>,
pub source_address: Option<String>,
pub amount_usd: Option<String>,
pub index: Option<f64>,
pub reward_info: Option<RewardInfo>,
}
Fields§
§source: Option<SourceTransferPeerPathResponse>
§destination: Option<DestinationTransferPeerPathResponse>
§tx_hash: Option<String>
§network_fee: Option<String>
§asset_id: Option<String>
§net_amount: Option<String>
The net amount of the transaction, after fee deduction
is_dropped: Option<bool>
§type: Option<String>
§destination_address: Option<String>
§source_address: Option<String>
§amount_usd: Option<String>
§index: Option<f64>
§reward_info: Option<RewardInfo>
Implementations§
Source§impl NetworkRecord
impl NetworkRecord
pub fn new() -> NetworkRecord
Trait Implementations§
Source§impl Clone for NetworkRecord
impl Clone for NetworkRecord
Source§fn clone(&self) -> NetworkRecord
fn clone(&self) -> NetworkRecord
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 NetworkRecord
impl Debug for NetworkRecord
Source§impl Default for NetworkRecord
impl Default for NetworkRecord
Source§fn default() -> NetworkRecord
fn default() -> NetworkRecord
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkRecord
impl<'de> Deserialize<'de> for NetworkRecord
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 NetworkRecord
impl PartialEq for NetworkRecord
Source§impl Serialize for NetworkRecord
impl Serialize for NetworkRecord
impl StructuralPartialEq for NetworkRecord
Auto Trait Implementations§
impl Freeze for NetworkRecord
impl RefUnwindSafe for NetworkRecord
impl Send for NetworkRecord
impl Sync for NetworkRecord
impl Unpin for NetworkRecord
impl UnwindSafe for NetworkRecord
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