Struct polyphony_types::config::SentryConfiguration
source · 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 copy 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<SentryConfiguration> for SentryConfiguration
impl PartialEq<SentryConfiguration> for SentryConfiguration
source§fn eq(&self, other: &SentryConfiguration) -> bool
fn eq(&self, other: &SentryConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SentryConfiguration
impl Serialize for SentryConfiguration
impl StructuralPartialEq for SentryConfiguration
Auto Trait Implementations§
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