pub enum DedupKey {
TaskId(Uuid),
ContentHash(u64),
Custom(String),
}Expand description
Deduplication key for a message
Variants§
TaskId(Uuid)
Use the message task ID
ContentHash(u64)
Use the task name and arguments hash
Custom(String)
Custom key
Implementations§
Trait 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 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