pub struct UserUpdateRequest {
pub email: Option<String>,
pub phone: Option<String>,
pub password: Option<String>,
pub nonce: Option<String>,
pub data: Option<UserMetadata>,
pub app_metadata: Option<AppMetadata>,
pub channel: Option<String>,
}Expand description
User PUT Request
Fields§
§email: Option<String>§phone: Option<String>§password: Option<String>§nonce: Option<String>§data: Option<UserMetadata>§app_metadata: Option<AppMetadata>§channel: Option<String>Implementations§
Source§impl UserUpdateRequest
impl UserUpdateRequest
Sourcepub fn builder() -> UserUpdateRequestBuilder<((), (), (), (), (), (), ())>
pub fn builder() -> UserUpdateRequestBuilder<((), (), (), (), (), (), ())>
Create a builder for building UserUpdateRequest.
On the builder, call .email(...), .phone(...), .password(...), .nonce(...), .data(...), .app_metadata(...), .channel(...) to set the values of the fields.
Finally, call .build() to create the instance of UserUpdateRequest.
Trait Implementations§
Source§impl AuthModuleRequest for UserUpdateRequest
impl AuthModuleRequest for UserUpdateRequest
Source§type Res = UserSchema
type Res = UserSchema
The successful result type to be returned
Source§type Error = ErrorSchema
type Error = ErrorSchema
The error type to be returned on invalid data
Source§type Payload = UserUpdateRequest
type Payload = UserUpdateRequest
The payload that we will send as JSON during the request body
Source§impl Clone for UserUpdateRequest
impl Clone for UserUpdateRequest
Source§fn clone(&self) -> UserUpdateRequest
fn clone(&self) -> UserUpdateRequest
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserUpdateRequest
impl Debug for UserUpdateRequest
Auto Trait Implementations§
impl Freeze for UserUpdateRequest
impl RefUnwindSafe for UserUpdateRequest
impl Send for UserUpdateRequest
impl Sync for UserUpdateRequest
impl Unpin for UserUpdateRequest
impl UnwindSafe for UserUpdateRequest
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)