pub struct AprEstimate {
pub low: Decimal,
pub high: Decimal,
}
Expand description
Bracketed estimate for a strategy’s APR
Fields§
§low: Decimal
§high: Decimal
Trait Implementations§
Source§impl Clone for AprEstimate
impl Clone for AprEstimate
Source§fn clone(&self) -> AprEstimate
fn clone(&self) -> AprEstimate
Returns a copy 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 AprEstimate
impl Debug for AprEstimate
Source§impl<'de> Deserialize<'de> for AprEstimate
impl<'de> Deserialize<'de> for AprEstimate
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 AprEstimate
impl PartialEq for AprEstimate
impl StructuralPartialEq for AprEstimate
Auto Trait Implementations§
impl Freeze for AprEstimate
impl RefUnwindSafe for AprEstimate
impl Send for AprEstimate
impl Sync for AprEstimate
impl Unpin for AprEstimate
impl UnwindSafe for AprEstimate
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