pub struct UniversalTransfer {
pub asset: String,
pub amount: f64,
pub from_symbol: Option<String>,
pub to_symbol: Option<String>,
pub transfer_type: UniversalTransferType,
}Fields§
§asset: String§amount: f64§from_symbol: Option<String>§to_symbol: Option<String>§transfer_type: UniversalTransferTypeTrait Implementations§
Source§impl Clone for UniversalTransfer
impl Clone for UniversalTransfer
Source§fn clone(&self) -> UniversalTransfer
fn clone(&self) -> UniversalTransfer
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 UniversalTransfer
impl Debug for UniversalTransfer
Source§impl<'de> Deserialize<'de> for UniversalTransfer
impl<'de> Deserialize<'de> for UniversalTransfer
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
Auto Trait Implementations§
impl Freeze for UniversalTransfer
impl RefUnwindSafe for UniversalTransfer
impl Send for UniversalTransfer
impl Sync for UniversalTransfer
impl Unpin for UniversalTransfer
impl UnwindSafe for UniversalTransfer
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