pub struct CreateUserParams {
pub company_id: String,
pub first_name: String,
pub last_name: String,
pub email: String,
pub password: String,
pub role: String,
pub type_: String,
pub location_ids: Vec<String>,
pub phone: Option<String>,
pub extension: Option<String>,
pub permissions: Option<Value>,
}Fields§
§company_id: String§first_name: String§last_name: String§email: String§password: String§role: String§type_: String§location_ids: Vec<String>§phone: Option<String>§extension: Option<String>§permissions: Option<Value>Trait Implementations§
Source§impl Clone for CreateUserParams
impl Clone for CreateUserParams
Source§fn clone(&self) -> CreateUserParams
fn clone(&self) -> CreateUserParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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