pub struct CreateChild {
pub email: String,
pub first_name: String,
pub last_name: String,
pub company_name: String,
pub password: String,
pub language: Option<Language>,
}Fields§
§email: StringEmail address to create the child account
first_name: StringFirst name to use to create the child account
last_name: StringLast name to use to create the child account
company_name: StringCompany name to use to create the child account
password: StringPassword for the child account to login
language: Option<Language>Language of the child account
Implementations§
Trait Implementations§
Source§impl Clone for CreateChild
impl Clone for CreateChild
Source§fn clone(&self) -> CreateChild
fn clone(&self) -> CreateChild
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 moreSource§impl Debug for CreateChild
impl Debug for CreateChild
Source§impl Default for CreateChild
impl Default for CreateChild
Source§fn default() -> CreateChild
fn default() -> CreateChild
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateChild
impl<'de> Deserialize<'de> for CreateChild
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 CreateChild
impl PartialEq for CreateChild
Source§impl Serialize for CreateChild
impl Serialize for CreateChild
impl StructuralPartialEq for CreateChild
Auto Trait Implementations§
impl Freeze for CreateChild
impl RefUnwindSafe for CreateChild
impl Send for CreateChild
impl Sync for CreateChild
impl Unpin for CreateChild
impl UnwindSafe for CreateChild
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