#[repr(u8)]pub enum RepayTypeDiscriminants {
PnlProcessing = 0,
Rebalance = 1,
BalanceUpdate = 2,
}Expand description
Auto-generated discriminant enum variants
Variants§
PnlProcessing = 0
Borrow repayment from PnL processing
Rebalance = 1
Borrow repayment from unrealized loss borrow rebalancing
BalanceUpdate = 2
Borrow repayment from balance updates in the form of a deposit
Trait Implementations§
Source§impl Clone for RepayTypeDiscriminants
impl Clone for RepayTypeDiscriminants
Source§fn clone(&self) -> RepayTypeDiscriminants
fn clone(&self) -> RepayTypeDiscriminants
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RepayTypeDiscriminants
impl Debug for RepayTypeDiscriminants
Source§impl Display for RepayTypeDiscriminants
impl Display for RepayTypeDiscriminants
Source§impl<'_enum> From<&'_enum RepayType> for RepayTypeDiscriminants
impl<'_enum> From<&'_enum RepayType> for RepayTypeDiscriminants
Source§fn from(val: &'_enum RepayType) -> RepayTypeDiscriminants
fn from(val: &'_enum RepayType) -> RepayTypeDiscriminants
Converts to this type from the input type.
Source§impl From<RepayType> for RepayTypeDiscriminants
impl From<RepayType> for RepayTypeDiscriminants
Source§fn from(val: RepayType) -> RepayTypeDiscriminants
fn from(val: RepayType) -> RepayTypeDiscriminants
Converts to this type from the input type.
Source§impl FromStr for RepayTypeDiscriminants
impl FromStr for RepayTypeDiscriminants
Source§impl PartialEq for RepayTypeDiscriminants
impl PartialEq for RepayTypeDiscriminants
Source§fn eq(&self, other: &RepayTypeDiscriminants) -> bool
fn eq(&self, other: &RepayTypeDiscriminants) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<&str> for RepayTypeDiscriminants
impl TryFrom<&str> for RepayTypeDiscriminants
impl Copy for RepayTypeDiscriminants
impl Eq for RepayTypeDiscriminants
impl StructuralPartialEq for RepayTypeDiscriminants
Auto Trait Implementations§
impl Freeze for RepayTypeDiscriminants
impl RefUnwindSafe for RepayTypeDiscriminants
impl Send for RepayTypeDiscriminants
impl Sync for RepayTypeDiscriminants
impl Unpin for RepayTypeDiscriminants
impl UnsafeUnpin for RepayTypeDiscriminants
impl UnwindSafe for RepayTypeDiscriminants
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