pub struct UserWithPass {
pub admin: bool,
pub id: i32,
pub name: String,
pub pass: String,
}
Fields§
§admin: bool
§id: i32
§name: String
§pass: String
Trait Implementations§
Source§impl Debug for UserWithPass
impl Debug for UserWithPass
Source§impl<'de> Deserialize<'de> for UserWithPass
impl<'de> Deserialize<'de> for UserWithPass
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 UserWithPass
impl RefUnwindSafe for UserWithPass
impl Send for UserWithPass
impl Sync for UserWithPass
impl Unpin for UserWithPass
impl UnwindSafe for UserWithPass
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