pub struct StructuredJSONEvent<T> {
pub kind: StructuredRecordKind,
pub payload: T,
pub request_id: Option<String>,
pub complete_fields: Vec<String>,
}Expand description
Structured JSON event (parsed from NDJSON envelope).
Fields§
§kind: StructuredRecordKind§payload: T§request_id: Option<String>§complete_fields: Vec<String>Trait Implementations§
Source§impl<T: Clone> Clone for StructuredJSONEvent<T>
impl<T: Clone> Clone for StructuredJSONEvent<T>
Source§fn clone(&self) -> StructuredJSONEvent<T>
fn clone(&self) -> StructuredJSONEvent<T>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T> Freeze for StructuredJSONEvent<T>where
T: Freeze,
impl<T> RefUnwindSafe for StructuredJSONEvent<T>where
T: RefUnwindSafe,
impl<T> Send for StructuredJSONEvent<T>where
T: Send,
impl<T> Sync for StructuredJSONEvent<T>where
T: Sync,
impl<T> Unpin for StructuredJSONEvent<T>where
T: Unpin,
impl<T> UnwindSafe for StructuredJSONEvent<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)