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