pub struct GetApiKey { /* private fields */ }Expand description
GET /api-key/get?id=...
Implementations§
Trait Implementations§
impl Copy for GetApiKey
Source§impl<D: Adapter> Endpoint<D> for GetApiKey
impl<D: Adapter> Endpoint<D> for GetApiKey
const METHOD: Method = Method::GET
const PATH: &'static str = "/api-key/get"
type Access = MaybeAuthenticated
type Input = GetApiKeyInput
type Output = ApiKeyView
async fn call( &self, ctx: Ctx<D, MaybeAuthenticated>, input: GetApiKeyInput, ) -> Result<ApiKeyView, AuthError>
Auto Trait Implementations§
impl Forget for GetApiKey
impl Freeze for GetApiKey
impl Move for GetApiKey
impl RefUnwindSafe for GetApiKey
impl Send for GetApiKey
impl Sync for GetApiKey
impl Unpin for GetApiKey
impl UnsafeUnpin for GetApiKey
impl UnwindSafe for GetApiKey
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