pub enum LoanIncomeType {
BorrowIn,
CollateralSpent,
RepayAmount,
CollateralReturn,
AddCollateral,
RemoveCollateral,
CollateralReturnAfterLiquidation,
}
Expand description
LoanIncomeType
JSON schema
{
"type": "string",
"enum": [
"borrowIn",
"collateralSpent",
"repayAmount",
"collateralReturn",
"addCollateral",
"removeCollateral",
"collateralReturnAfterLiquidation"
]
}
Variants§
BorrowIn
CollateralSpent
RepayAmount
CollateralReturn
AddCollateral
RemoveCollateral
CollateralReturnAfterLiquidation
Trait Implementations§
Source§impl Clone for LoanIncomeType
impl Clone for LoanIncomeType
Source§fn clone(&self) -> LoanIncomeType
fn clone(&self) -> LoanIncomeType
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 LoanIncomeType
impl Debug for LoanIncomeType
Source§impl<'de> Deserialize<'de> for LoanIncomeType
impl<'de> Deserialize<'de> for LoanIncomeType
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<&LoanIncomeType> for LoanIncomeType
impl From<&LoanIncomeType> for LoanIncomeType
Source§fn from(value: &LoanIncomeType) -> Self
fn from(value: &LoanIncomeType) -> Self
Converts to this type from the input type.
Source§impl FromStr for LoanIncomeType
impl FromStr for LoanIncomeType
Source§impl Hash for LoanIncomeType
impl Hash for LoanIncomeType
Source§impl Ord for LoanIncomeType
impl Ord for LoanIncomeType
Source§fn cmp(&self, other: &LoanIncomeType) -> Ordering
fn cmp(&self, other: &LoanIncomeType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LoanIncomeType
impl PartialEq for LoanIncomeType
Source§impl PartialOrd for LoanIncomeType
impl PartialOrd for LoanIncomeType
Source§impl Serialize for LoanIncomeType
impl Serialize for LoanIncomeType
Source§impl ToString for LoanIncomeType
impl ToString for LoanIncomeType
Source§impl TryFrom<&String> for LoanIncomeType
impl TryFrom<&String> for LoanIncomeType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for LoanIncomeType
impl TryFrom<&str> for LoanIncomeType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for LoanIncomeType
impl TryFrom<String> for LoanIncomeType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for LoanIncomeType
impl Eq for LoanIncomeType
impl StructuralPartialEq for LoanIncomeType
Auto Trait Implementations§
impl Freeze for LoanIncomeType
impl RefUnwindSafe for LoanIncomeType
impl Send for LoanIncomeType
impl Sync for LoanIncomeType
impl Unpin for LoanIncomeType
impl UnwindSafe for LoanIncomeType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.