pub struct SmartTransferTicketTerm {Show 15 fields
pub id: String,
pub ticket_id: String,
pub asset: String,
pub amount: String,
pub amount_usd: Option<String>,
pub from_network_id: String,
pub from_network_id_name: String,
pub to_network_id: String,
pub to_network_id_name: String,
pub tx_hash: Option<String>,
pub fb_tx_id: Option<String>,
pub tx_status: Option<TxStatus>,
pub status: Status,
pub created_at: String,
pub updated_at: String,
}
Expand description
SmartTransferTicketTerm : Data object with result data
Fields§
§id: String
Unique id of Smart Transfer ticket term
ticket_id: String
Unique id of Smart Transfer ticket
asset: String
Asset name
amount: String
Amount
amount_usd: Option<String>
Amount USD
from_network_id: String
Identifier of the origination Network Profile
from_network_id_name: String
Source network name
to_network_id: String
Identifier of the destination Network Profile
to_network_id_name: String
Destination network name
tx_hash: Option<String>
Blockchain TX hash
fb_tx_id: Option<String>
Fireblocks transaction ID. It is set when the funding transaction is created.
tx_status: Option<TxStatus>
Ticket term transaction status
status: Status
Ticket term status
created_at: String
Date and time when the term is created.
updated_at: String
Date and time of last term update.
Implementations§
Source§impl SmartTransferTicketTerm
impl SmartTransferTicketTerm
Sourcepub fn new(
id: String,
ticket_id: String,
asset: String,
amount: String,
from_network_id: String,
from_network_id_name: String,
to_network_id: String,
to_network_id_name: String,
tx_hash: Option<String>,
fb_tx_id: Option<String>,
tx_status: Option<TxStatus>,
status: Status,
created_at: String,
updated_at: String,
) -> SmartTransferTicketTerm
pub fn new( id: String, ticket_id: String, asset: String, amount: String, from_network_id: String, from_network_id_name: String, to_network_id: String, to_network_id_name: String, tx_hash: Option<String>, fb_tx_id: Option<String>, tx_status: Option<TxStatus>, status: Status, created_at: String, updated_at: String, ) -> SmartTransferTicketTerm
Data object with result data
Trait Implementations§
Source§impl Clone for SmartTransferTicketTerm
impl Clone for SmartTransferTicketTerm
Source§fn clone(&self) -> SmartTransferTicketTerm
fn clone(&self) -> SmartTransferTicketTerm
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 SmartTransferTicketTerm
impl Debug for SmartTransferTicketTerm
Source§impl Default for SmartTransferTicketTerm
impl Default for SmartTransferTicketTerm
Source§fn default() -> SmartTransferTicketTerm
fn default() -> SmartTransferTicketTerm
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SmartTransferTicketTerm
impl<'de> Deserialize<'de> for SmartTransferTicketTerm
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 SmartTransferTicketTerm
impl PartialEq for SmartTransferTicketTerm
Source§impl Serialize for SmartTransferTicketTerm
impl Serialize for SmartTransferTicketTerm
impl StructuralPartialEq for SmartTransferTicketTerm
Auto Trait Implementations§
impl Freeze for SmartTransferTicketTerm
impl RefUnwindSafe for SmartTransferTicketTerm
impl Send for SmartTransferTicketTerm
impl Sync for SmartTransferTicketTerm
impl Unpin for SmartTransferTicketTerm
impl UnwindSafe for SmartTransferTicketTerm
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