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