pub struct LeanWorkerDiagnosticEvent {
pub code: String,
pub message: String,
}Expand description
One diagnostic message delivered over a worker request.
Diagnostics are control/observability messages, not data rows. They are
delivered through LeanWorkerDiagnosticSink so row payloads remain
downstream-owned data.
Fields§
§code: String§message: StringTrait Implementations§
Source§impl Clone for LeanWorkerDiagnosticEvent
impl Clone for LeanWorkerDiagnosticEvent
Source§fn clone(&self) -> LeanWorkerDiagnosticEvent
fn clone(&self) -> LeanWorkerDiagnosticEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LeanWorkerDiagnosticEvent
impl Debug for LeanWorkerDiagnosticEvent
Source§impl PartialEq for LeanWorkerDiagnosticEvent
impl PartialEq for LeanWorkerDiagnosticEvent
Source§fn eq(&self, other: &LeanWorkerDiagnosticEvent) -> bool
fn eq(&self, other: &LeanWorkerDiagnosticEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanWorkerDiagnosticEvent
impl StructuralPartialEq for LeanWorkerDiagnosticEvent
Auto Trait Implementations§
impl Freeze for LeanWorkerDiagnosticEvent
impl RefUnwindSafe for LeanWorkerDiagnosticEvent
impl Send for LeanWorkerDiagnosticEvent
impl Sync for LeanWorkerDiagnosticEvent
impl Unpin for LeanWorkerDiagnosticEvent
impl UnsafeUnpin for LeanWorkerDiagnosticEvent
impl UnwindSafe for LeanWorkerDiagnosticEvent
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