pub struct MarginMaxTransferableResponse {
pub amount: String,
pub borrow_limit: String,
}
Expand description
MarginMaxTransferableResponse
JSON schema
{
"examples": [
{
"amount": "1.69248805",
"borrowLimit": "60"
}
],
"type": "object",
"required": [
"amount",
"borrowLimit"
],
"properties": {
"amount": {
"description": "Account's currently max borrowable amount with sufficient system availability",
"type": "string"
},
"borrowLimit": {
"description": "Max borrowable amount limited by the account level",
"type": "string"
}
}
}
Fields§
§amount: String
Account’s currently max borrowable amount with sufficient system availability
borrow_limit: String
Max borrowable amount limited by the account level
Trait Implementations§
Source§impl Clone for MarginMaxTransferableResponse
impl Clone for MarginMaxTransferableResponse
Source§fn clone(&self) -> MarginMaxTransferableResponse
fn clone(&self) -> MarginMaxTransferableResponse
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 MarginMaxTransferableResponse
impl<'de> Deserialize<'de> for MarginMaxTransferableResponse
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<&MarginMaxTransferableResponse> for MarginMaxTransferableResponse
impl From<&MarginMaxTransferableResponse> for MarginMaxTransferableResponse
Source§fn from(value: &MarginMaxTransferableResponse) -> Self
fn from(value: &MarginMaxTransferableResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MarginMaxTransferableResponse
impl RefUnwindSafe for MarginMaxTransferableResponse
impl Send for MarginMaxTransferableResponse
impl Sync for MarginMaxTransferableResponse
impl Unpin for MarginMaxTransferableResponse
impl UnwindSafe for MarginMaxTransferableResponse
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