pub struct UserCreationReq {
pub email: Option<String>,
pub realname: Option<String>,
pub comment: Option<String>,
pub password: Option<String>,
pub username: Option<String>,
}Fields§
§email: Option<String>§realname: Option<String>§comment: Option<String>§password: Option<String>§username: Option<String>Implementations§
Source§impl UserCreationReq
impl UserCreationReq
pub fn new() -> UserCreationReq
Trait Implementations§
Source§impl Clone for UserCreationReq
impl Clone for UserCreationReq
Source§fn clone(&self) -> UserCreationReq
fn clone(&self) -> UserCreationReq
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 UserCreationReq
impl Debug for UserCreationReq
Source§impl Default for UserCreationReq
impl Default for UserCreationReq
Source§fn default() -> UserCreationReq
fn default() -> UserCreationReq
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserCreationReq
impl<'de> Deserialize<'de> for UserCreationReq
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 UserCreationReq
impl PartialEq for UserCreationReq
Source§impl Serialize for UserCreationReq
impl Serialize for UserCreationReq
impl StructuralPartialEq for UserCreationReq
Auto Trait Implementations§
impl Freeze for UserCreationReq
impl RefUnwindSafe for UserCreationReq
impl Send for UserCreationReq
impl Sync for UserCreationReq
impl Unpin for UserCreationReq
impl UnwindSafe for UserCreationReq
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