pub enum AndroidJsonlRecord {
EmptyLine,
NoRawEvent,
Envelope(Box<CollectorEnvelope>),
}Expand description
Parsed outcome for one Android JSONL row.
parse_line keeps the historical Option<CollectorEnvelope> API for
callers that only need ingestion. This shape is intentionally more verbose
for code that wants to keep counters or diagnostics without re-parsing the
original JSON row.
Variants§
Implementations§
Source§impl AndroidJsonlRecord
impl AndroidJsonlRecord
pub fn into_envelope(self) -> Option<CollectorEnvelope>
Trait Implementations§
Source§impl Clone for AndroidJsonlRecord
impl Clone for AndroidJsonlRecord
Source§fn clone(&self) -> AndroidJsonlRecord
fn clone(&self) -> AndroidJsonlRecord
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 AndroidJsonlRecord
impl Debug for AndroidJsonlRecord
Source§impl PartialEq for AndroidJsonlRecord
impl PartialEq for AndroidJsonlRecord
impl Eq for AndroidJsonlRecord
impl StructuralPartialEq for AndroidJsonlRecord
Auto Trait Implementations§
impl Freeze for AndroidJsonlRecord
impl RefUnwindSafe for AndroidJsonlRecord
impl Send for AndroidJsonlRecord
impl Sync for AndroidJsonlRecord
impl Unpin for AndroidJsonlRecord
impl UnsafeUnpin for AndroidJsonlRecord
impl UnwindSafe for AndroidJsonlRecord
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