pub struct DealUserDataWithId {
pub id: Option<i32>,
pub name: Option<String>,
pub email: Option<String>,
pub has_pic: Option<bool>,
pub pic_hash: Option<Option<String>>,
pub active_flag: Option<bool>,
pub value: Option<i32>,
}Fields§
§id: Option<i32>The ID of the user
name: Option<String>The name of the user
email: Option<String>The email of the user
has_pic: Option<bool>If the user has a picture or not
pic_hash: Option<Option<String>>The user picture hash
active_flag: Option<bool>Whether the user is active or not
value: Option<i32>The ID of the user
Implementations§
Source§impl DealUserDataWithId
impl DealUserDataWithId
pub fn new() -> DealUserDataWithId
Trait Implementations§
Source§impl Clone for DealUserDataWithId
impl Clone for DealUserDataWithId
Source§fn clone(&self) -> DealUserDataWithId
fn clone(&self) -> DealUserDataWithId
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 DealUserDataWithId
impl Debug for DealUserDataWithId
Source§impl<'de> Deserialize<'de> for DealUserDataWithId
impl<'de> Deserialize<'de> for DealUserDataWithId
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 DealUserDataWithId
impl PartialEq for DealUserDataWithId
Source§impl Serialize for DealUserDataWithId
impl Serialize for DealUserDataWithId
impl StructuralPartialEq for DealUserDataWithId
Auto Trait Implementations§
impl Freeze for DealUserDataWithId
impl RefUnwindSafe for DealUserDataWithId
impl Send for DealUserDataWithId
impl Sync for DealUserDataWithId
impl Unpin for DealUserDataWithId
impl UnwindSafe for DealUserDataWithId
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