pub struct SentryConfiguration {
pub enabled: bool,
pub endpoint: String,
pub trace_sample_rate: f64,
pub environment: String,
}Fields§
§enabled: bool§endpoint: String§trace_sample_rate: f64§environment: StringTrait Implementations§
Source§impl Clone for SentryConfiguration
impl Clone for SentryConfiguration
Source§fn clone(&self) -> SentryConfiguration
fn clone(&self) -> SentryConfiguration
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 SentryConfiguration
impl Debug for SentryConfiguration
Source§impl Default for SentryConfiguration
impl Default for SentryConfiguration
Source§impl<'de> Deserialize<'de> for SentryConfiguration
impl<'de> Deserialize<'de> for SentryConfiguration
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 SentryConfiguration
impl PartialEq for SentryConfiguration
Source§impl Serialize for SentryConfiguration
impl Serialize for SentryConfiguration
impl StructuralPartialEq for SentryConfiguration
Auto Trait Implementations§
impl Freeze for SentryConfiguration
impl RefUnwindSafe for SentryConfiguration
impl Send for SentryConfiguration
impl Sync for SentryConfiguration
impl Unpin for SentryConfiguration
impl UnwindSafe for SentryConfiguration
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