pub struct SqlIdentity { /* private fields */ }
Expand description
Identity that uses a SQL database as identity storage
Trait Implementations§
Source§impl Identity for SqlIdentity
impl Identity for SqlIdentity
Source§fn write(
&mut self,
resp: HttpResponse,
) -> Result<MiddlewareResponse, ActixWebError>
fn write( &mut self, resp: HttpResponse, ) -> Result<MiddlewareResponse, ActixWebError>
Saves the identity to the backing store, if it has changed
§Arguments
resp
- HTTP response to modify
Auto Trait Implementations§
impl Freeze for SqlIdentity
impl !RefUnwindSafe for SqlIdentity
impl !Send for SqlIdentity
impl !Sync for SqlIdentity
impl Unpin for SqlIdentity
impl !UnwindSafe for SqlIdentity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more