pub struct AmountOverTimeConfigV2 {
pub range: AmountOverTimeConfigV2Range,
pub currency: Option<Currency>,
pub time_period: TimePeriodConfigV2,
}Expand description
AmountOverTimeConfigV2 : Amount over time configuration
Fields§
§range: AmountOverTimeConfigV2Range§currency: Option<Currency>Currency for the amount
time_period: TimePeriodConfigV2Implementations§
Source§impl AmountOverTimeConfigV2
impl AmountOverTimeConfigV2
Sourcepub fn new(
range: AmountOverTimeConfigV2Range,
time_period: TimePeriodConfigV2,
) -> AmountOverTimeConfigV2
pub fn new( range: AmountOverTimeConfigV2Range, time_period: TimePeriodConfigV2, ) -> AmountOverTimeConfigV2
Amount over time configuration
Trait Implementations§
Source§impl Clone for AmountOverTimeConfigV2
impl Clone for AmountOverTimeConfigV2
Source§fn clone(&self) -> AmountOverTimeConfigV2
fn clone(&self) -> AmountOverTimeConfigV2
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 AmountOverTimeConfigV2
impl Debug for AmountOverTimeConfigV2
Source§impl Default for AmountOverTimeConfigV2
impl Default for AmountOverTimeConfigV2
Source§fn default() -> AmountOverTimeConfigV2
fn default() -> AmountOverTimeConfigV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AmountOverTimeConfigV2
impl<'de> Deserialize<'de> for AmountOverTimeConfigV2
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 AmountOverTimeConfigV2
impl PartialEq for AmountOverTimeConfigV2
Source§impl Serialize for AmountOverTimeConfigV2
impl Serialize for AmountOverTimeConfigV2
impl StructuralPartialEq for AmountOverTimeConfigV2
Auto Trait Implementations§
impl Freeze for AmountOverTimeConfigV2
impl RefUnwindSafe for AmountOverTimeConfigV2
impl Send for AmountOverTimeConfigV2
impl Sync for AmountOverTimeConfigV2
impl Unpin for AmountOverTimeConfigV2
impl UnwindSafe for AmountOverTimeConfigV2
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