pub struct ParsedRecord {
pub event: Event,
pub prompt_text: Option<String>,
pub usage_key: Option<String>,
}Expand description
One parsed source record.
Fields§
§event: Event§prompt_text: Option<String>Prompt text, when the record carries one. Whether it is stored is the
ingester’s decision (general.index_prompt_text).
usage_key: Option<String>Usage on this record is reported per-request and may be repeated
verbatim on sibling records; it must be counted once per key. None
means the counts on this record stand on their own.
Trait Implementations§
Source§impl Clone for ParsedRecord
impl Clone for ParsedRecord
Source§fn clone(&self) -> ParsedRecord
fn clone(&self) -> ParsedRecord
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 ParsedRecord
impl Debug for ParsedRecord
Source§impl PartialEq for ParsedRecord
impl PartialEq for ParsedRecord
impl StructuralPartialEq for ParsedRecord
Auto Trait Implementations§
impl Freeze for ParsedRecord
impl RefUnwindSafe for ParsedRecord
impl Send for ParsedRecord
impl Sync for ParsedRecord
impl Unpin for ParsedRecord
impl UnsafeUnpin for ParsedRecord
impl UnwindSafe for ParsedRecord
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