pub struct ErrorReport {Show 13 fields
pub id: String,
pub tenant_id: String,
pub user_id: Option<String>,
pub key_id: Option<String>,
pub title: String,
pub message: String,
pub context: Option<String>,
pub url: Option<String>,
pub run_id: Option<String>,
pub user_agent: Option<String>,
pub kind: ErrorReportKind,
pub status: ErrorReportStatus,
pub created_at: String,
}Expand description
What a person reported from the “report to the team” button, or general feedback. Reports are stored in ONE global inbox across all tenants, and expire after 90 days — the inbox is a working queue, not an archive.
Fields§
§id: String§tenant_id: StringThe tenant the report came FROM, not the inbox it is stored in.
user_id: Option<String>§key_id: Option<String>§title: StringThe toast headline. Defaults to “Reported error” when the caller sends none.
message: String§context: Option<String>What the person was doing — action, component.
url: Option<String>§run_id: Option<String>§user_agent: Option<String>§kind: ErrorReportKindAnything other than feedback is filed as an error.
status: ErrorReportStatus§created_at: StringTrait Implementations§
Source§impl Clone for ErrorReport
impl Clone for ErrorReport
Source§fn clone(&self) -> ErrorReport
fn clone(&self) -> ErrorReport
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 ErrorReport
impl Debug for ErrorReport
Source§impl Default for ErrorReport
impl Default for ErrorReport
Source§fn default() -> ErrorReport
fn default() -> ErrorReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorReport
impl<'de> Deserialize<'de> for ErrorReport
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 ErrorReport
impl PartialEq for ErrorReport
Source§impl Serialize for ErrorReport
impl Serialize for ErrorReport
impl StructuralPartialEq for ErrorReport
Auto Trait Implementations§
impl Freeze for ErrorReport
impl RefUnwindSafe for ErrorReport
impl Send for ErrorReport
impl Sync for ErrorReport
impl Unpin for ErrorReport
impl UnsafeUnpin for ErrorReport
impl UnwindSafe for ErrorReport
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