pub struct CreateUserParams {
pub name: String,
pub short_name: Option<String>,
pub sortable_name: Option<String>,
pub time_zone: Option<String>,
pub locale: Option<String>,
pub birthdate: Option<String>,
pub terms_of_use: Option<bool>,
pub skip_registration: Option<bool>,
}Fields§
§name: String§short_name: Option<String>§sortable_name: Option<String>§time_zone: Option<String>§locale: Option<String>§birthdate: Option<String>§terms_of_use: Option<bool>§skip_registration: Option<bool>Trait Implementations§
Source§impl Debug for CreateUserParams
impl Debug for CreateUserParams
Source§impl Default for CreateUserParams
impl Default for CreateUserParams
Source§fn default() -> CreateUserParams
fn default() -> CreateUserParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateUserParams
impl<'de> Deserialize<'de> for CreateUserParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateUserParams
impl RefUnwindSafe for CreateUserParams
impl Send for CreateUserParams
impl Sync for CreateUserParams
impl Unpin for CreateUserParams
impl UnsafeUnpin for CreateUserParams
impl UnwindSafe for CreateUserParams
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