#[non_exhaustive]pub struct HeartbeatWorkerArgs {
pub worker_instance_id: WorkerInstanceId,
pub namespace: Namespace,
pub now: TimestampMs,
}Expand description
Inputs to crate::engine_backend::EngineBackend::heartbeat_worker
(RFC-025). Feature gate: core.
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.worker_instance_id: WorkerInstanceId§namespace: Namespace§now: TimestampMsImplementations§
Source§impl HeartbeatWorkerArgs
impl HeartbeatWorkerArgs
pub fn new( worker_instance_id: WorkerInstanceId, namespace: Namespace, now: TimestampMs, ) -> Self
Trait Implementations§
Source§impl Clone for HeartbeatWorkerArgs
impl Clone for HeartbeatWorkerArgs
Source§fn clone(&self) -> HeartbeatWorkerArgs
fn clone(&self) -> HeartbeatWorkerArgs
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 moreSource§impl Debug for HeartbeatWorkerArgs
impl Debug for HeartbeatWorkerArgs
Source§impl PartialEq for HeartbeatWorkerArgs
impl PartialEq for HeartbeatWorkerArgs
impl Eq for HeartbeatWorkerArgs
impl StructuralPartialEq for HeartbeatWorkerArgs
Auto Trait Implementations§
impl Freeze for HeartbeatWorkerArgs
impl RefUnwindSafe for HeartbeatWorkerArgs
impl Send for HeartbeatWorkerArgs
impl Sync for HeartbeatWorkerArgs
impl Unpin for HeartbeatWorkerArgs
impl UnsafeUnpin for HeartbeatWorkerArgs
impl UnwindSafe for HeartbeatWorkerArgs
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