pub struct OrganizationCallbacks<S: AuthSchema> { /* private fields */ }Expand description
Invitation delivery with the validated endpoint context.
Implementations§
Source§impl<S: AuthSchema> OrganizationCallbacks<S>
impl<S: AuthSchema> OrganizationCallbacks<S>
Sourcepub fn invitation_email(
sender: impl Fn(&InvitationEmail, &EndpointContext<'_, S>) -> AuthResult<Option<BackgroundFuture>> + Send + Sync + 'static,
) -> Self
pub fn invitation_email( sender: impl Fn(&InvitationEmail, &EndpointContext<'_, S>) -> AuthResult<Option<BackgroundFuture>> + Send + Sync + 'static, ) -> Self
Construct delivery before scheduling. Factory errors remain endpoint errors.
Auto Trait Implementations§
impl<S> !RefUnwindSafe for OrganizationCallbacks<S>
impl<S> !UnwindSafe for OrganizationCallbacks<S>
impl<S> Freeze for OrganizationCallbacks<S>
impl<S> Send for OrganizationCallbacks<S>
impl<S> Sync for OrganizationCallbacks<S>
impl<S> Unpin for OrganizationCallbacks<S>
impl<S> UnsafeUnpin for OrganizationCallbacks<S>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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