Struct secure_session::middleware::SessionConfigBuilder [] [src]

pub struct SessionConfigBuilder { /* fields omitted */ }

A utility to help build a SessionConfig in an API backwards compatible way.

Methods

impl SessionConfigBuilder
[src]

[src]

Create a new builder that is initialized with the default configuration.

[src]

Set the session time to live (TTL) in seconds. Default: None

[src]

Consume the builder and return a config.

Trait Implementations

impl Clone for SessionConfigBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more