pub struct Owner {
pub id: Option<i32>,
pub name: Option<String>,
pub email: Option<String>,
pub has_pic: Option<i32>,
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<i32>
Whether the user has picture or not. 0 = No picture, 1 = Has picture.
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 owner
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Owner
impl<'de> Deserialize<'de> for Owner
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
impl StructuralPartialEq for Owner
Auto Trait Implementations§
impl Freeze for Owner
impl RefUnwindSafe for Owner
impl Send for Owner
impl Sync for Owner
impl Unpin for Owner
impl UnwindSafe for Owner
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