pub struct RevokeSession;Trait Implementations§
Source§impl<D: Adapter> Endpoint<D> for RevokeSession
impl<D: Adapter> Endpoint<D> for RevokeSession
const METHOD: Method = Method::POST
const PATH: &'static str = "/revoke-session"
type Access = Authenticated
type Input = RevokeSessionInput
type Output = Status
async fn call( &self, ctx: Ctx<D, Authenticated>, input: RevokeSessionInput, ) -> Result<Status, AuthError>
Auto Trait Implementations§
impl Forget for RevokeSession
impl Freeze for RevokeSession
impl Move for RevokeSession
impl RefUnwindSafe for RevokeSession
impl Send for RevokeSession
impl Sync for RevokeSession
impl Unpin for RevokeSession
impl UnsafeUnpin for RevokeSession
impl UnwindSafe for RevokeSession
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