#[non_exhaustive]pub struct EditUserRequest {
pub username: String,
pub email: String,
pub name: Option<String>,
pub provider_info: Option<Value>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.username: String§email: String§name: Option<String>§provider_info: Option<Value>Implementations§
Trait Implementations§
Source§impl Clone for EditUserRequest
impl Clone for EditUserRequest
Source§impl Debug for EditUserRequest
impl Debug for EditUserRequest
Source§impl Default for EditUserRequest
impl Default for EditUserRequest
Auto Trait Implementations§
impl Freeze for EditUserRequest
impl RefUnwindSafe for EditUserRequest
impl Send for EditUserRequest
impl Sync for EditUserRequest
impl Unpin for EditUserRequest
impl UnsafeUnpin for EditUserRequest
impl UnwindSafe for EditUserRequest
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