pub struct CreateUserParams {
pub email: String,
pub principal: Option<CreatePrincipalData>,
pub workspace_ids: Vec<WorkspaceId>,
}Expand description
Parameters for creating a user
Fields§
§email: String§principal: Option<CreatePrincipalData>Optional principal to create atomically with the user
workspace_ids: Vec<WorkspaceId>Workspaces to add this user to (user-level membership)
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CreateUserParams
impl RefUnwindSafe for CreateUserParams
impl Send for CreateUserParams
impl Sync for CreateUserParams
impl Unpin 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