Struct sentry::ClientOptions
[−]
[src]
pub struct ClientOptions { pub in_app_include: Vec<&'static str>, pub in_app_exclude: Vec<&'static str>, pub extra_border_frames: Vec<&'static str>, pub max_breadcrumbs: usize, pub trim_backtraces: bool, pub release: Option<Cow<'static, str>>, pub environment: Option<Cow<'static, str>>, pub server_name: Option<Cow<'static, str>>, pub user_agent: Cow<'static, str>, }
Configuration settings for the client.
Fields
in_app_include: Vec<&'static str>
module prefixes that are always considered in_app
in_app_exclude: Vec<&'static str>
module prefixes that are never in_app
extra_border_frames: Vec<&'static str>
border frames which indicate a border from a backtrace to useless internals. Some are automatically included.
Maximum number of breadcrumbs (0 to disable feature).
trim_backtraces: bool
Automatically trim backtraces of junk before sending.
release: Option<Cow<'static, str>>
The release to be sent with events.
environment: Option<Cow<'static, str>>
The environment to be sent with events.
server_name: Option<Cow<'static, str>>
The server name to be reported.
user_agent: Cow<'static, str>
The user agent that should be reported.
Trait Implementations
impl Debug for ClientOptions
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ClientOptions
[src]
fn clone(&self) -> ClientOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for ClientOptions
[src]
fn default() -> ClientOptions
[src]
Returns the "default value" for a type. Read more