pub struct UpdateUser {
pub is_admin: Option<bool>,
pub is_active: Option<bool>,
}
Fields§
§is_admin: Option<bool>
§is_active: Option<bool>
Trait Implementations§
Source§impl Debug for UpdateUser
impl Debug for UpdateUser
Auto Trait Implementations§
impl Freeze for UpdateUser
impl RefUnwindSafe for UpdateUser
impl Send for UpdateUser
impl Sync for UpdateUser
impl Unpin for UpdateUser
impl UnwindSafe for UpdateUser
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