pub struct UpdatePasskey;Expand description
POST /passkey/update-passkey: renames one of the signed-in user’s passkeys.
Trait Implementations§
Source§impl<D: Adapter> Endpoint<D> for UpdatePasskey
impl<D: Adapter> Endpoint<D> for UpdatePasskey
const METHOD: Method = Method::POST
const PATH: &'static str = "/passkey/update-passkey"
type Access = Authenticated
type Input = UpdatePasskeyInput
type Output = UpdatePasskeyOutput
async fn call( &self, ctx: Ctx<D, Authenticated>, input: UpdatePasskeyInput, ) -> Result<UpdatePasskeyOutput, AuthError>
Auto Trait Implementations§
impl Forget for UpdatePasskey
impl Freeze for UpdatePasskey
impl Move for UpdatePasskey
impl RefUnwindSafe for UpdatePasskey
impl Send for UpdatePasskey
impl Sync for UpdatePasskey
impl Unpin for UpdatePasskey
impl UnsafeUnpin for UpdatePasskey
impl UnwindSafe for UpdatePasskey
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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