pub struct CapturedError {
pub distinct_id: Option<String>,
pub event: Option<String>,
pub exception: Option<Option<Value>>,
pub id: Option<String>,
pub library: Option<String>,
pub library_version: Option<String>,
pub path: Option<String>,
pub product: Option<String>,
pub properties: Option<Option<Value>>,
pub session_id: Option<String>,
pub timestamp: Option<String>,
pub url: Option<String>,
}Fields§
§distinct_id: Option<String>DistinctID is the person/visitor the error is attributed to. Omitted when the row carries none.
event: Option<String>Event is the event name the error was stored under, e.g. $error.
exception: Option<Option<Value>>§id: Option<String>ID is the row’s stable event id — the client’s own idempotency id when it sent one, else the server-minted one.
library: Option<String>Library is the client SDK that reported the error. Omitted when absent.
library_version: Option<String>LibraryVer is that SDK’s version. Omitted when absent.
path: Option<String>Path is the URL’s path component. Omitted when absent.
product: Option<String>Product is the surface that emitted the error. Omitted when absent.
properties: Option<Option<Value>>§session_id: Option<String>SessionID groups the events of one visit. Omitted when the client sent none.
timestamp: Option<String>Timestamp is when the error was captured, RFC3339 UTC.
url: Option<String>URL is the full page address the error fired on. Omitted when absent.
Implementations§
Source§impl CapturedError
impl CapturedError
pub fn new() -> CapturedError
Trait Implementations§
Source§impl Clone for CapturedError
impl Clone for CapturedError
Source§fn clone(&self) -> CapturedError
fn clone(&self) -> CapturedError
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 CapturedError
impl Debug for CapturedError
Source§impl Default for CapturedError
impl Default for CapturedError
Source§fn default() -> CapturedError
fn default() -> CapturedError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CapturedError
impl<'de> Deserialize<'de> for CapturedError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CapturedError
impl PartialEq for CapturedError
Source§impl Serialize for CapturedError
impl Serialize for CapturedError
impl StructuralPartialEq for CapturedError
Auto Trait Implementations§
impl Freeze for CapturedError
impl RefUnwindSafe for CapturedError
impl Send for CapturedError
impl Sync for CapturedError
impl Unpin for CapturedError
impl UnsafeUnpin for CapturedError
impl UnwindSafe for CapturedError
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