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