pub struct ExpectedAlert {
pub alert_type: String,
pub expected_date: NaiveDate,
pub triggering_transactions: Vec<Uuid>,
pub severity: AlertSeverity,
}Expand description
Expected alert that should be triggered.
Fields§
§alert_type: StringAlert type/rule name
expected_date: NaiveDateExpected trigger date
triggering_transactions: Vec<Uuid>Transactions that should trigger
severity: AlertSeveritySeverity
Trait Implementations§
Source§impl Clone for ExpectedAlert
impl Clone for ExpectedAlert
Source§fn clone(&self) -> ExpectedAlert
fn clone(&self) -> ExpectedAlert
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 ExpectedAlert
impl Debug for ExpectedAlert
Source§impl<'de> Deserialize<'de> for ExpectedAlert
impl<'de> Deserialize<'de> for ExpectedAlert
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 ExpectedAlert
impl RefUnwindSafe for ExpectedAlert
impl Send for ExpectedAlert
impl Sync for ExpectedAlert
impl Unpin for ExpectedAlert
impl UnwindSafe for ExpectedAlert
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