pub struct DeleteAllExpiredApiKeys;Expand description
/api-key/delete-all-expired-api-keys. Server-only, like Better Auth.
Trait Implementations§
Source§impl Clone for DeleteAllExpiredApiKeys
impl Clone for DeleteAllExpiredApiKeys
impl Copy for DeleteAllExpiredApiKeys
Source§impl Debug for DeleteAllExpiredApiKeys
impl Debug for DeleteAllExpiredApiKeys
Source§impl<D: Adapter> Endpoint<D> for DeleteAllExpiredApiKeys
impl<D: Adapter> Endpoint<D> for DeleteAllExpiredApiKeys
const METHOD: Method = Method::POST
const PATH: &'static str = "/api-key/delete-all-expired-api-keys"
type Access = Public
type Input = Empty
type Output = DeleteExpiredOutput
async fn call( &self, ctx: Ctx<D>, _: Empty, ) -> Result<DeleteExpiredOutput, AuthError>
Auto Trait Implementations§
impl Forget for DeleteAllExpiredApiKeys
impl Freeze for DeleteAllExpiredApiKeys
impl Move for DeleteAllExpiredApiKeys
impl RefUnwindSafe for DeleteAllExpiredApiKeys
impl Send for DeleteAllExpiredApiKeys
impl Sync for DeleteAllExpiredApiKeys
impl Unpin for DeleteAllExpiredApiKeys
impl UnsafeUnpin for DeleteAllExpiredApiKeys
impl UnwindSafe for DeleteAllExpiredApiKeys
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