pub type AllowUserDeletion = Arc<dyn Fn(CompactString, CompactString, CompactString, bool) -> RetFut<'static, bool> + Send + Sync>;
Available on crate feature
integration-fs
only.Expand description
Arc<async Fn(user, email, target_user_to_be_deleted, user_is_admin) -> delete?>
Is only called if the deletion would normally be allowed (user tries to delete self, or user is admin).
Aliased Typeยง
struct AllowUserDeletion { /* private fields */ }