Struct actix_tools::sentry::sentry_client::internals::Auth[]

pub struct Auth { /* fields omitted */ }

Represents an auth header.

Methods

impl Auth

Creates an auth header from key value pairs.

Creates an auth header from a query string.

Returns the unix timestamp the client defined

Returns the protocol version the client speaks

Returns the public key

Returns the client's secret if it authenticated with a secret.

Returns true if the authentication implies public auth (no secret)

Returns the client's agent

Trait Implementations

impl Serialize for Auth

Serialize this value into the given Serde serializer. Read more

impl Display for Auth

Formats the value using the given formatter. Read more

impl Clone for Auth

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl FromStr for Auth

The associated error which can be returned from parsing.

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

impl Debug for Auth

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Auth

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Auth

impl Sync for Auth