pub struct MaxBorrowable {
pub amount: Decimal,
pub borrow_limit: Decimal,
}Fields§
§amount: Decimal§borrow_limit: DecimalAccount’s current borrow limit for the asset.
Trait Implementations§
Source§impl Debug for MaxBorrowable
impl Debug for MaxBorrowable
Source§impl<'de> Deserialize<'de> for MaxBorrowable
impl<'de> Deserialize<'de> for MaxBorrowable
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 PartialEq for MaxBorrowable
impl PartialEq for MaxBorrowable
Source§fn eq(&self, other: &MaxBorrowable) -> bool
fn eq(&self, other: &MaxBorrowable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MaxBorrowable
Auto Trait Implementations§
impl Freeze for MaxBorrowable
impl RefUnwindSafe for MaxBorrowable
impl Send for MaxBorrowable
impl Sync for MaxBorrowable
impl Unpin for MaxBorrowable
impl UnsafeUnpin for MaxBorrowable
impl UnwindSafe for MaxBorrowable
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