pub struct RequestAuth {
    pub buffer: Secret<Vec<u8>>,
}
Expand description

Wrapper around the authentication value of a request.

Hides the contents and keeps them immutable.

Fields

buffer: Secret<Vec<u8>>

Buffer holding the authentication token as a byte vector

Implementations

Create a new authentication field for a request.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.