pub struct QueryMarginAvailableInventoryResponse {
pub assets: Option<HashMap<String, String>>,
pub update_time: Option<i64>,
}Fields§
§assets: Option<HashMap<String, String>>Available inventory per asset. Keys are asset symbols, values are available amounts.
update_time: Option<i64>update Time.
Implementations§
Trait Implementations§
Source§impl Clone for QueryMarginAvailableInventoryResponse
impl Clone for QueryMarginAvailableInventoryResponse
Source§fn clone(&self) -> QueryMarginAvailableInventoryResponse
fn clone(&self) -> QueryMarginAvailableInventoryResponse
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 Default for QueryMarginAvailableInventoryResponse
impl Default for QueryMarginAvailableInventoryResponse
Source§fn default() -> QueryMarginAvailableInventoryResponse
fn default() -> QueryMarginAvailableInventoryResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QueryMarginAvailableInventoryResponse
impl<'de> Deserialize<'de> for QueryMarginAvailableInventoryResponse
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
impl StructuralPartialEq for QueryMarginAvailableInventoryResponse
Auto Trait Implementations§
impl Freeze for QueryMarginAvailableInventoryResponse
impl RefUnwindSafe for QueryMarginAvailableInventoryResponse
impl Send for QueryMarginAvailableInventoryResponse
impl Sync for QueryMarginAvailableInventoryResponse
impl Unpin for QueryMarginAvailableInventoryResponse
impl UnsafeUnpin for QueryMarginAvailableInventoryResponse
impl UnwindSafe for QueryMarginAvailableInventoryResponse
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