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