Struct sentry_types::Dsn [] [src]

pub struct Dsn { /* fields omitted */ }

Represents a Sentry dsn.

Methods

impl Dsn
[src]

[src]

Converts the dsn into an auth object.

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

[src]

Returns the submission API URL.

[src]

Returns the scheme

[src]

Returns the public_key

[src]

Returns secret_key

[src]

Returns the host

[src]

Returns the port

[src]

Returns the project_id

Trait Implementations

impl Clone for Dsn
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Dsn
[src]

impl PartialEq for Dsn
[src]

[src]

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

[src]

This method tests for !=.

impl Hash for Dsn
[src]

[src]

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

1.3.0
[src]

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

impl Debug for Dsn
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Dsn
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for Dsn
[src]

The associated error which can be returned from parsing.

[src]

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

impl Serialize for Dsn
[src]

[src]

Serialize this value into the given Serde serializer. Read more

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

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Dsn

impl Sync for Dsn