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