Struct csrf::CsrfCookie [] [src]

pub struct CsrfCookie { /* fields omitted */ }

A signed, encrypted CSRF cookie that is suitable to be displayed to end users.

Methods

impl CsrfCookie
[src]

[src]

Create a new cookie from the given token bytes.

[src]

Get the base64 value of this cookie.

[src]

Get be raw value of this cookie.

Trait Implementations

impl Debug for CsrfCookie
[src]

[src]

Formats the value using the given formatter.

impl Eq for CsrfCookie
[src]

impl PartialEq for CsrfCookie
[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 Clone for CsrfCookie
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for CsrfCookie
[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