#[non_exhaustive]pub struct DueTimer {
pub due_at_ms: u64,
pub kind: TimerKind,
pub reference: Bytes,
pub value: Value,
}Expand description
The row handed to a kind-specific codec and handler.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.due_at_ms: u64Scheduled Unix epoch milliseconds.
kind: TimerKindStable handler identifier.
reference: BytesOpaque kind-specific identity.
value: ValueOpaque kind-specific payload.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DueTimer
impl RefUnwindSafe for DueTimer
impl Send for DueTimer
impl Sync for DueTimer
impl Unpin for DueTimer
impl UnsafeUnpin for DueTimer
impl UnwindSafe for DueTimer
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