pub struct CovenantDef {
pub covenant_type: String,
pub threshold: f64,
}Expand description
Definition of a debt covenant in configuration.
Fields§
§covenant_type: StringCovenant type: “debt_to_equity”, “interest_coverage”, “current_ratio”, “net_worth”, “debt_to_ebitda”, “fixed_charge_coverage”.
threshold: f64Covenant threshold value.
Trait Implementations§
Source§impl Clone for CovenantDef
impl Clone for CovenantDef
Source§fn clone(&self) -> CovenantDef
fn clone(&self) -> CovenantDef
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 CovenantDef
impl Debug for CovenantDef
Source§impl<'de> Deserialize<'de> for CovenantDef
impl<'de> Deserialize<'de> for CovenantDef
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
Auto Trait Implementations§
impl Freeze for CovenantDef
impl RefUnwindSafe for CovenantDef
impl Send for CovenantDef
impl Sync for CovenantDef
impl Unpin for CovenantDef
impl UnsafeUnpin for CovenantDef
impl UnwindSafe for CovenantDef
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