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