Struct tulipv2_sdk_common::lending::obligation::ObligationCollateral
source · [−]pub struct ObligationCollateral {
pub deposit_reserve: Pubkey,
pub deposited_amount: u64,
pub market_value: Decimal,
}Expand description
Obligation collateral state
Fields
deposit_reserve: PubkeyReserve collateral is deposited to
deposited_amount: u64Amount of collateral deposited
market_value: DecimalCollateral market value in quote currency
Implementations
Trait Implementations
sourceimpl Clone for ObligationCollateral
impl Clone for ObligationCollateral
sourcefn clone(&self) -> ObligationCollateral
fn clone(&self) -> ObligationCollateral
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ObligationCollateral
impl Debug for ObligationCollateral
sourceimpl Default for ObligationCollateral
impl Default for ObligationCollateral
sourcefn default() -> ObligationCollateral
fn default() -> ObligationCollateral
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ObligationCollateral> for ObligationCollateral
impl PartialEq<ObligationCollateral> for ObligationCollateral
sourcefn eq(&self, other: &ObligationCollateral) -> bool
fn eq(&self, other: &ObligationCollateral) -> bool
impl Eq for ObligationCollateral
impl StructuralEq for ObligationCollateral
impl StructuralPartialEq for ObligationCollateral
Auto Trait Implementations
impl RefUnwindSafe for ObligationCollateral
impl Send for ObligationCollateral
impl Sync for ObligationCollateral
impl Unpin for ObligationCollateral
impl UnwindSafe for ObligationCollateral
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more