pub struct SubscriptionRecord {
pub subscription_id: SubscriptionId,
pub task_id: TaskId,
pub filter: EventFilter,
pub created_at: u64,
pub triggered_at: Option<u64>,
pub canceled_at: Option<u64>,
}Expand description
Subscription state record.
Fields§
§subscription_id: SubscriptionIdThe subscription identifier.
task_id: TaskIdThe subscribing task identifier.
filter: EventFilterThe event filter for this subscription.
created_at: u64The timestamp when the subscription was created.
triggered_at: Option<u64>The timestamp when the subscription was last triggered, if any.
canceled_at: Option<u64>The timestamp when the subscription was canceled, if any.
Trait Implementations§
Source§impl Clone for SubscriptionRecord
impl Clone for SubscriptionRecord
Source§fn clone(&self) -> SubscriptionRecord
fn clone(&self) -> SubscriptionRecord
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 moreAuto Trait Implementations§
impl Freeze for SubscriptionRecord
impl RefUnwindSafe for SubscriptionRecord
impl Send for SubscriptionRecord
impl Sync for SubscriptionRecord
impl Unpin for SubscriptionRecord
impl UnsafeUnpin for SubscriptionRecord
impl UnwindSafe for SubscriptionRecord
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