pub struct DedupKey {
pub rule_id: RuleId,
pub scope_id: String,
pub seq: u64,
}Expand description
Key for the dedup ring: identifies a (rule, event-scope, sequence-position) triple.
Because seq is unique within a scope per the scryer substrate contract
(R093-F1), and the ring includes rule_id, two rules matching the same
underlying event have different keys and both fire.
Fields§
§rule_id: RuleId§scope_id: String§seq: u64Trait Implementations§
impl Eq for DedupKey
impl StructuralPartialEq for DedupKey
Auto Trait Implementations§
impl Freeze for DedupKey
impl RefUnwindSafe for DedupKey
impl Send for DedupKey
impl Sync for DedupKey
impl Unpin for DedupKey
impl UnsafeUnpin for DedupKey
impl UnwindSafe for DedupKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.