Struct axum_csrf::service::AxumCsrfService
source · pub struct AxumCsrfService<S> {
pub(crate) config: CsrfConfig,
pub(crate) inner: S,
}
Fields§
§config: CsrfConfig
§inner: S
Trait Implementations§
source§impl<S: Clone> Clone for AxumCsrfService<S>
impl<S: Clone> Clone for AxumCsrfService<S>
source§fn clone(&self) -> AxumCsrfService<S>
fn clone(&self) -> AxumCsrfService<S>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<S> RefUnwindSafe for AxumCsrfService<S>where S: RefUnwindSafe,
impl<S> Send for AxumCsrfService<S>where S: Send,
impl<S> Sync for AxumCsrfService<S>where S: Sync,
impl<S> Unpin for AxumCsrfService<S>where S: Unpin,
impl<S> UnwindSafe for AxumCsrfService<S>where S: UnwindSafe,
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