Struct actix_web_sql_identity::SqlIdentity [−][src]
pub struct SqlIdentity { /* fields omitted */ }
Identity that uses a SQL database as identity storage
Trait Implementations
impl Identity for SqlIdentity
[src]
impl Identity for SqlIdentity
fn identity(&self) -> Option<&str>
[src]
fn identity(&self) -> Option<&str>
Returns the current identity, or none
fn remember(&mut self, value: String)
[src]
fn remember(&mut self, value: String)
fn forget(&mut self)
[src]
fn forget(&mut self)
Forgets a user, by deleting the identity
fn write(
&mut self,
resp: HttpResponse
) -> Result<MiddlewareResponse, ActixWebError>
[src]
fn write(
&mut self,
resp: HttpResponse
) -> Result<MiddlewareResponse, ActixWebError>
Auto Trait Implementations
impl !Send for SqlIdentity
impl !Send for SqlIdentity
impl !Sync for SqlIdentity
impl !Sync for SqlIdentity