pub struct SentrySettings {
pub max_events_per_second: Option<NonZeroU32>,
}Expand description
Sentry hook settings.
Fields§
§max_events_per_second: Option<NonZeroU32>Maximum number of events that can be emitted per second, per fingerprint.
Trait Implementations§
Source§impl Clone for SentrySettings
impl Clone for SentrySettings
Source§fn clone(&self) -> SentrySettings
fn clone(&self) -> SentrySettings
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 SentrySettings
impl Debug for SentrySettings
Source§impl Default for SentrySettings
impl Default for SentrySettings
Source§impl<'de> Deserialize<'de> for SentrySettingswhere
SentrySettings: Default,
impl<'de> Deserialize<'de> for SentrySettingswhere
SentrySettings: Default,
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 Serialize for SentrySettings
impl Serialize for SentrySettings
Auto Trait Implementations§
impl Freeze for SentrySettings
impl RefUnwindSafe for SentrySettings
impl Send for SentrySettings
impl Sync for SentrySettings
impl Unpin for SentrySettings
impl UnsafeUnpin for SentrySettings
impl UnwindSafe for SentrySettings
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