pub struct InvalidationRecord {
pub reason: InvalidationReason,
pub new_revision: Option<CaseRevision>,
pub at: DateTime<Utc>,
}Expand description
What is recorded when an interaction is invalidated.
Fields§
§reason: InvalidationReasonThe reason.
new_revision: Option<CaseRevision>The revision the case moved to, when the invalidation came from a
revision sweep (InteractionWriter::invalidate_for_case).
None when a replacement card or a policy closed this one, where no
revision is involved.
at: DateTime<Utc>When it happened, stamped by the store’s clock.
Trait Implementations§
Source§impl Clone for InvalidationRecord
impl Clone for InvalidationRecord
Source§impl Debug for InvalidationRecord
impl Debug for InvalidationRecord
Source§impl<'de> Deserialize<'de> for InvalidationRecord
impl<'de> Deserialize<'de> for InvalidationRecord
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 Eq for InvalidationRecord
Source§impl PartialEq for InvalidationRecord
impl PartialEq for InvalidationRecord
Source§impl Serialize for InvalidationRecord
impl Serialize for InvalidationRecord
impl StructuralPartialEq for InvalidationRecord
Auto Trait Implementations§
impl Freeze for InvalidationRecord
impl RefUnwindSafe for InvalidationRecord
impl Send for InvalidationRecord
impl Sync for InvalidationRecord
impl Unpin for InvalidationRecord
impl UnsafeUnpin for InvalidationRecord
impl UnwindSafe for InvalidationRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.