Struct binance::rest_model::UniversalTransfer
source · [−]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: Stringamount: f64from_symbol: Option<String>to_symbol: Option<String>transfer_type: UniversalTransferTypeTrait Implementations
sourceimpl Clone for UniversalTransfer
impl Clone for UniversalTransfer
sourcefn clone(&self) -> UniversalTransfer
fn clone(&self) -> UniversalTransfer
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for UniversalTransfer
impl Debug for UniversalTransfer
sourceimpl<'de> Deserialize<'de> for UniversalTransfer
impl<'de> Deserialize<'de> for UniversalTransfer
sourcefn 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
sourceimpl Serialize for UniversalTransfer
impl Serialize for UniversalTransfer
Auto Trait Implementations
impl RefUnwindSafe for UniversalTransfer
impl Send for UniversalTransfer
impl Sync for UniversalTransfer
impl Unpin for UniversalTransfer
impl UnwindSafe for UniversalTransfer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more