pub struct IncrementRule {
pub increment: Decimal,
pub lower_edge: Decimal,
}
Fields§
§increment: Decimal
§lower_edge: Decimal
Trait Implementations§
Source§impl Clone for IncrementRule
impl Clone for IncrementRule
Source§fn clone(&self) -> IncrementRule
fn clone(&self) -> IncrementRule
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 IncrementRule
impl Debug for IncrementRule
Source§impl Default for IncrementRule
impl Default for IncrementRule
Source§fn default() -> IncrementRule
fn default() -> IncrementRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IncrementRule
impl<'de> Deserialize<'de> for IncrementRule
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 IncrementRule
impl PartialEq for IncrementRule
Source§impl Serialize for IncrementRule
impl Serialize for IncrementRule
impl StructuralPartialEq for IncrementRule
Auto Trait Implementations§
impl Freeze for IncrementRule
impl RefUnwindSafe for IncrementRule
impl Send for IncrementRule
impl Sync for IncrementRule
impl Unpin for IncrementRule
impl UnwindSafe for IncrementRule
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