pub struct Occupation {
pub occupation_type: Option<String>,
pub id: Option<u64>,
pub name: Option<String>,
}Expand description
Information about the current type of user activity
Fields§
§occupation_type: Option<String>Is a type. Possible values
workif workingschoolif secondary educationuniversityif higher education
id: Option<u64>ID of the school, university, community of the company (in which the user works)
name: Option<String>The name of the school, university or place of work
Trait Implementations§
Source§impl Debug for Occupation
impl Debug for Occupation
Source§impl<'de> Deserialize<'de> for Occupation
impl<'de> Deserialize<'de> for Occupation
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 Occupation
impl RefUnwindSafe for Occupation
impl Send for Occupation
impl Sync for Occupation
impl Unpin for Occupation
impl UnwindSafe for Occupation
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