Struct sentry_types::Dsn[][src]

pub struct Dsn { /* fields omitted */ }

Represents a Sentry dsn.

Methods

impl Dsn
[src]

Converts the dsn into an auth object.

This always attaches the latest and greatest protocol version to the auth header.

Returns the submission API URL.

Returns the scheme

Returns the public_key

Returns secret_key

Returns the host

Returns the port

Returns the project_id

Trait Implementations

impl Clone for Dsn
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Dsn
[src]

impl PartialEq for Dsn
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Dsn
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Dsn
[src]

Formats the value using the given formatter. Read more

impl Display for Dsn
[src]

Formats the value using the given formatter. Read more

impl FromStr for Dsn
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Serialize for Dsn
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Dsn
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Dsn

impl Sync for Dsn