pub struct Employee {
pub id: String,
pub name: String,
pub email: String,
pub title: Option<String>,
pub image: Option<String>,
pub user_id: Option<String>,
pub color: Option<String>,
}Fields§
§id: String§name: String§email: String§title: Option<String>§image: Option<String>§user_id: Option<String>§color: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Employee
impl<'de> Deserialize<'de> for Employee
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 Employee
impl RefUnwindSafe for Employee
impl Send for Employee
impl Sync for Employee
impl Unpin for Employee
impl UnwindSafe for Employee
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