pub struct ErrorReportingConfig {
pub enabled: bool,
pub sentry_dsn: String,
pub environment: String,
pub send_pii: bool,
pub traces_sample_rate: f64,
}
Expand description
ErrorReportingConfig : Config for error reporting
Fields§
§enabled: bool
§sentry_dsn: String
§environment: String
§send_pii: bool
§traces_sample_rate: f64
Implementations§
Trait Implementations§
Source§impl Clone for ErrorReportingConfig
impl Clone for ErrorReportingConfig
Source§fn clone(&self) -> ErrorReportingConfig
fn clone(&self) -> ErrorReportingConfig
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 ErrorReportingConfig
impl Debug for ErrorReportingConfig
Source§impl Default for ErrorReportingConfig
impl Default for ErrorReportingConfig
Source§fn default() -> ErrorReportingConfig
fn default() -> ErrorReportingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorReportingConfig
impl<'de> Deserialize<'de> for ErrorReportingConfig
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 ErrorReportingConfig
impl PartialEq for ErrorReportingConfig
Source§impl Serialize for ErrorReportingConfig
impl Serialize for ErrorReportingConfig
impl StructuralPartialEq for ErrorReportingConfig
Auto Trait Implementations§
impl Freeze for ErrorReportingConfig
impl RefUnwindSafe for ErrorReportingConfig
impl Send for ErrorReportingConfig
impl Sync for ErrorReportingConfig
impl Unpin for ErrorReportingConfig
impl UnwindSafe for ErrorReportingConfig
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