pub struct RegisterRequestModel {Show 14 fields
pub name: Option<String>,
pub email: String,
pub master_password_hash: String,
pub master_password_hint: Option<String>,
pub captcha_response: Option<String>,
pub key: Option<String>,
pub keys: Option<Box<KeysRequestModel>>,
pub token: Option<String>,
pub organization_user_id: Option<Uuid>,
pub kdf: Option<KdfType>,
pub kdf_iterations: Option<i32>,
pub kdf_memory: Option<i32>,
pub kdf_parallelism: Option<i32>,
pub reference_data: Option<HashMap<String, Value>>,
}
Fields§
§name: Option<String>
§email: String
§master_password_hash: String
§master_password_hint: Option<String>
§captcha_response: Option<String>
§key: Option<String>
§keys: Option<Box<KeysRequestModel>>
§token: Option<String>
§organization_user_id: Option<Uuid>
§kdf: Option<KdfType>
§kdf_iterations: Option<i32>
§kdf_memory: Option<i32>
§kdf_parallelism: Option<i32>
§reference_data: Option<HashMap<String, Value>>
Implementations§
source§impl RegisterRequestModel
impl RegisterRequestModel
pub fn new(email: String, master_password_hash: String) -> RegisterRequestModel
Trait Implementations§
source§impl Clone for RegisterRequestModel
impl Clone for RegisterRequestModel
source§fn clone(&self) -> RegisterRequestModel
fn clone(&self) -> RegisterRequestModel
Returns a copy 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 moresource§impl Debug for RegisterRequestModel
impl Debug for RegisterRequestModel
source§impl Default for RegisterRequestModel
impl Default for RegisterRequestModel
source§fn default() -> RegisterRequestModel
fn default() -> RegisterRequestModel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RegisterRequestModel
impl<'de> Deserialize<'de> for RegisterRequestModel
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
source§impl PartialEq for RegisterRequestModel
impl PartialEq for RegisterRequestModel
source§impl Serialize for RegisterRequestModel
impl Serialize for RegisterRequestModel
impl StructuralPartialEq for RegisterRequestModel
Auto Trait Implementations§
impl Freeze for RegisterRequestModel
impl RefUnwindSafe for RegisterRequestModel
impl Send for RegisterRequestModel
impl Sync for RegisterRequestModel
impl Unpin for RegisterRequestModel
impl UnwindSafe for RegisterRequestModel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)