pub struct PatchProfile;
Expand description
Update a user profile.
§Errors
- Invalid request -
400 - Bad Request
- Missing / bad auth -
401 - Unauthorized
- Taken username -
409 - Conflict
- Empty username -
422 - Unprocessable Entity
Trait Implementations§
Source§impl ApiEndpoint for Patch
impl ApiEndpoint for Patch
Source§type Path = PatchProfilePath
type Path = PatchProfilePath
The path type for this endpoint.
Source§type Req = PatchProfileRequest
type Req = PatchProfileRequest
The request type for this endpoint.
Source§type Err = EmptyError
type Err = EmptyError
The (inner) error type for this endpoint.
Auto Trait Implementations§
impl Freeze for Patch
impl RefUnwindSafe for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnwindSafe for Patch
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