pub struct PortfolioMarginAssetLeverageResponseItem {
pub asset: Option<String>,
pub collateral_rate: Option<String>,
}
Expand description
PortfolioMarginAssetLeverageResponseItem
JSON schema
{
"type": "object",
"properties": {
"asset": {
"examples": [
"USDC"
],
"type": "string"
},
"collateralRate": {
"examples": [
"1.0000"
],
"type": "string"
}
}
}
Fields§
§asset: Option<String>
§collateral_rate: Option<String>
Trait Implementations§
Source§impl Clone for PortfolioMarginAssetLeverageResponseItem
impl Clone for PortfolioMarginAssetLeverageResponseItem
Source§fn clone(&self) -> PortfolioMarginAssetLeverageResponseItem
fn clone(&self) -> PortfolioMarginAssetLeverageResponseItem
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<'de> Deserialize<'de> for PortfolioMarginAssetLeverageResponseItem
impl<'de> Deserialize<'de> for PortfolioMarginAssetLeverageResponseItem
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 From<&PortfolioMarginAssetLeverageResponseItem> for PortfolioMarginAssetLeverageResponseItem
impl From<&PortfolioMarginAssetLeverageResponseItem> for PortfolioMarginAssetLeverageResponseItem
Source§fn from(value: &PortfolioMarginAssetLeverageResponseItem) -> Self
fn from(value: &PortfolioMarginAssetLeverageResponseItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PortfolioMarginAssetLeverageResponseItem
impl RefUnwindSafe for PortfolioMarginAssetLeverageResponseItem
impl Send for PortfolioMarginAssetLeverageResponseItem
impl Sync for PortfolioMarginAssetLeverageResponseItem
impl Unpin for PortfolioMarginAssetLeverageResponseItem
impl UnwindSafe for PortfolioMarginAssetLeverageResponseItem
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