pub struct AmountOverTimeConfigV2Range {
pub min: String,
pub max: Option<String>,
}Expand description
AmountOverTimeConfigV2Range : Amount range configuration
Fields§
§min: StringMinimum amount
max: Option<String>Maximum amount (optional)
Implementations§
Source§impl AmountOverTimeConfigV2Range
impl AmountOverTimeConfigV2Range
Sourcepub fn new(min: String) -> AmountOverTimeConfigV2Range
pub fn new(min: String) -> AmountOverTimeConfigV2Range
Amount range configuration
Trait Implementations§
Source§impl Clone for AmountOverTimeConfigV2Range
impl Clone for AmountOverTimeConfigV2Range
Source§fn clone(&self) -> AmountOverTimeConfigV2Range
fn clone(&self) -> AmountOverTimeConfigV2Range
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 AmountOverTimeConfigV2Range
impl Debug for AmountOverTimeConfigV2Range
Source§impl Default for AmountOverTimeConfigV2Range
impl Default for AmountOverTimeConfigV2Range
Source§fn default() -> AmountOverTimeConfigV2Range
fn default() -> AmountOverTimeConfigV2Range
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AmountOverTimeConfigV2Range
impl<'de> Deserialize<'de> for AmountOverTimeConfigV2Range
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
impl StructuralPartialEq for AmountOverTimeConfigV2Range
Auto Trait Implementations§
impl Freeze for AmountOverTimeConfigV2Range
impl RefUnwindSafe for AmountOverTimeConfigV2Range
impl Send for AmountOverTimeConfigV2Range
impl Sync for AmountOverTimeConfigV2Range
impl Unpin for AmountOverTimeConfigV2Range
impl UnwindSafe for AmountOverTimeConfigV2Range
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