pub struct FundingHistory {
pub id: Option<String>,
pub symbol: Option<String>,
pub code: Option<String>,
pub timestamp: Option<i64>,
pub datetime: Option<String>,
pub amount: Option<f64>,
pub raw: Value,
}Expand description
One funding payment made or received (each row of fetchFundingHistory).
Mirrors the TS FundingHistory interface.
Fields§
§id: Option<String>§symbol: Option<String>§code: Option<String>§timestamp: Option<i64>§datetime: Option<String>§amount: Option<f64>§raw: ValueImplementations§
Source§impl FundingHistory
impl FundingHistory
pub fn from_value(v: Value) -> FundingHistory
Trait Implementations§
Source§impl Clone for FundingHistory
impl Clone for FundingHistory
Source§fn clone(&self) -> FundingHistory
fn clone(&self) -> FundingHistory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FundingHistory
impl Debug for FundingHistory
Source§impl Default for FundingHistory
impl Default for FundingHistory
Source§fn default() -> FundingHistory
fn default() -> FundingHistory
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for FundingHistory
impl Freeze for FundingHistory
impl Move for FundingHistory
impl RefUnwindSafe for FundingHistory
impl Send for FundingHistory
impl Sync for FundingHistory
impl Unpin for FundingHistory
impl UnsafeUnpin for FundingHistory
impl UnwindSafe for FundingHistory
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