pub struct NewUser {Show 13 fields
pub id: String,
pub email: Option<String>,
pub nickname: Option<String>,
pub created_at: String,
pub anonymous: Option<bool>,
pub group: NewGroup,
pub status: Option<UserStatus>,
pub avatar: Option<AvatarType>,
pub preferred_theme: Option<String>,
pub credit: Option<i64>,
pub language: String,
pub disable_view_sync: Option<String>,
pub share_links_in_profile: Option<ShareLinkVisibility>,
}Fields§
§id: String§email: Option<String>§nickname: Option<String>§created_at: String§anonymous: Option<bool>§group: NewGroup§status: Option<UserStatus>§avatar: Option<AvatarType>§preferred_theme: Option<String>§credit: Option<i64>§language: String§disable_view_sync: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewUser
impl<'de> Deserialize<'de> for NewUser
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 NewUser
impl RefUnwindSafe for NewUser
impl Send for NewUser
impl Sync for NewUser
impl Unpin for NewUser
impl UnwindSafe for NewUser
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