pub struct VerificationPublication {
pub store_in_database: bool,
pub secondary_storage: Option<Arc<dyn CacheAdapter>>,
pub cache_key: String,
}Expand description
The adapter owns this phase between its real write and after-create hooks. It is also used inside transactions, before commit/deferred after hooks.
Fields§
§store_in_database: bool§secondary_storage: Option<Arc<dyn CacheAdapter>>§cache_key: StringImplementations§
Source§impl VerificationPublication
impl VerificationPublication
pub async fn publish(&self, snapshot: &VerificationSnapshot) -> AuthResult<()>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for VerificationPublication
impl !UnwindSafe for VerificationPublication
impl Freeze for VerificationPublication
impl Send for VerificationPublication
impl Sync for VerificationPublication
impl Unpin for VerificationPublication
impl UnsafeUnpin for VerificationPublication
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