#[non_exhaustive]pub struct AddUserRequest {
pub account_id: i64,
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.account_id: i64§username: String§email: String§name: Option<String>§provider_info: Option<Value>Implementations§
Trait Implementations§
Source§impl Clone for AddUserRequest
impl Clone for AddUserRequest
Source§impl Debug for AddUserRequest
impl Debug for AddUserRequest
Source§impl Default for AddUserRequest
impl Default for AddUserRequest
Auto Trait Implementations§
impl Freeze for AddUserRequest
impl RefUnwindSafe for AddUserRequest
impl Send for AddUserRequest
impl Sync for AddUserRequest
impl Unpin for AddUserRequest
impl UnsafeUnpin for AddUserRequest
impl UnwindSafe for AddUserRequest
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