Struct primitives::config::SentryConfig
source · pub struct SentryConfig {
pub analytics_maxtime: Duration,
pub admins: Vec<Address>,
pub platform: PlatformConfig,
}
Expand description
Config values that are used in the sentry only
Fields
analytics_maxtime: Duration
A timeout to be used when collecting the Analytics for a request:
- GET
/v5/analytics
- GET
/v5/analytics/for-publisher
- GET
/v5/analytics/for-advertiser
- GET
/v5/analytics/for-admin
In milliseconds
admins: Vec<Address>
platform: PlatformConfig
Trait Implementations
sourceimpl Clone for SentryConfig
impl Clone for SentryConfig
sourcefn clone(&self) -> SentryConfig
fn clone(&self) -> SentryConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SentryConfig
impl Debug for SentryConfig
sourceimpl<'de> Deserialize<'de> for SentryConfig
impl<'de> Deserialize<'de> for SentryConfig
sourcefn 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
sourceimpl PartialEq<SentryConfig> for SentryConfig
impl PartialEq<SentryConfig> for SentryConfig
sourcefn eq(&self, other: &SentryConfig) -> bool
fn eq(&self, other: &SentryConfig) -> bool
sourceimpl Serialize for SentryConfig
impl Serialize for SentryConfig
impl Eq for SentryConfig
impl StructuralEq for SentryConfig
impl StructuralPartialEq for SentryConfig
Auto Trait Implementations
impl RefUnwindSafe for SentryConfig
impl Send for SentryConfig
impl Sync for SentryConfig
impl Unpin for SentryConfig
impl UnwindSafe for SentryConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more