pub struct GetSession;Trait Implementations§
Source§impl<D: Adapter> Endpoint<D> for GetSession
impl<D: Adapter> Endpoint<D> for GetSession
const METHOD: Method = Method::GET
const PATH: &'static str = "/get-session"
type Access = MaybeAuthenticated
type Input = Map<String, Value>
type Output = Option<Value>
async fn call( &self, ctx: Ctx<D, MaybeAuthenticated>, _: Map<String, Json>, ) -> Result<Option<Json>, AuthError>
Auto Trait Implementations§
impl Forget for GetSession
impl Freeze for GetSession
impl Move for GetSession
impl RefUnwindSafe for GetSession
impl Send for GetSession
impl Sync for GetSession
impl Unpin for GetSession
impl UnsafeUnpin for GetSession
impl UnwindSafe for GetSession
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