pub struct CostProjection {
pub daily: f64,
pub monthly: f64,
}Fields§
§daily: f64§monthly: f64Trait Implementations§
Source§impl Clone for CostProjection
impl Clone for CostProjection
Source§fn clone(&self) -> CostProjection
fn clone(&self) -> CostProjection
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 CostProjection
impl Debug for CostProjection
Source§impl Default for CostProjection
impl Default for CostProjection
Source§fn default() -> CostProjection
fn default() -> CostProjection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CostProjection
impl<'de> Deserialize<'de> for CostProjection
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 CostProjection
impl PartialEq for CostProjection
Source§fn eq(&self, other: &CostProjection) -> bool
fn eq(&self, other: &CostProjection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CostProjection
impl Serialize for CostProjection
impl StructuralPartialEq for CostProjection
Auto Trait Implementations§
impl Freeze for CostProjection
impl RefUnwindSafe for CostProjection
impl Send for CostProjection
impl Sync for CostProjection
impl Unpin for CostProjection
impl UnsafeUnpin for CostProjection
impl UnwindSafe for CostProjection
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