Struct sentry_types::Auth [] [src]

pub struct Auth { /* fields omitted */ }

Represents an auth header.

Methods

impl Auth
[src]

[src]

Creates an auth header from key value pairs.

[src]

Returns the unix timestamp the client defined

[src]

Returns the protocol version the client speaks

[src]

Returns the public key

[src]

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

[src]

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

[src]

Returns the client's agent

Trait Implementations

impl Debug for Auth
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Auth
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Display for Auth
[src]

[src]

Formats the value using the given formatter. Read more

impl FromStr for Auth
[src]

The associated error which can be returned from parsing.

[src]

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

Auto Trait Implementations

impl Send for Auth

impl Sync for Auth