pub struct SentryTunnelConfig {
pub sentry_host: String,
pub allowed_project_ids: Vec<String>,
pub path: String,
pub timeout_secs: u64,
}Expand description
Sentry tunnel configuration
Fields§
§sentry_host: StringSentry host address (without https://)
allowed_project_ids: Vec<String>List of allowed project IDs
path: StringCustom routing path, defaults to “/tunnel”
timeout_secs: u64Request timeout in seconds
Implementations§
Trait Implementations§
Source§impl Clone for SentryTunnelConfig
impl Clone for SentryTunnelConfig
Source§fn clone(&self) -> SentryTunnelConfig
fn clone(&self) -> SentryTunnelConfig
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 SentryTunnelConfig
impl Debug for SentryTunnelConfig
Source§impl<'de> Deserialize<'de> for SentryTunnelConfig
impl<'de> Deserialize<'de> for SentryTunnelConfig
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
Auto Trait Implementations§
impl Freeze for SentryTunnelConfig
impl RefUnwindSafe for SentryTunnelConfig
impl Send for SentryTunnelConfig
impl Sync for SentryTunnelConfig
impl Unpin for SentryTunnelConfig
impl UnwindSafe for SentryTunnelConfig
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