pub struct ThresholdChange {
pub category: String,
pub old_threshold: Decimal,
pub new_threshold: Decimal,
}Expand description
Threshold change details.
Fields§
§category: StringThreshold category (e.g., “amount”, “risk_level”).
old_threshold: DecimalOld threshold value.
new_threshold: DecimalNew threshold value.
Trait Implementations§
Source§impl Clone for ThresholdChange
impl Clone for ThresholdChange
Source§fn clone(&self) -> ThresholdChange
fn clone(&self) -> ThresholdChange
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 ThresholdChange
impl Debug for ThresholdChange
Source§impl<'de> Deserialize<'de> for ThresholdChange
impl<'de> Deserialize<'de> for ThresholdChange
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
Auto Trait Implementations§
impl Freeze for ThresholdChange
impl RefUnwindSafe for ThresholdChange
impl Send for ThresholdChange
impl Sync for ThresholdChange
impl Unpin for ThresholdChange
impl UnwindSafe for ThresholdChange
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