pub struct CompactEmployee {
pub name: String,
pub image: Option<String>,
}Fields§
§name: String§image: Option<String>Trait Implementations§
Source§impl Debug for CompactEmployee
impl Debug for CompactEmployee
Source§impl<'de> Deserialize<'de> for CompactEmployee
impl<'de> Deserialize<'de> for CompactEmployee
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 Hash for CompactEmployee
impl Hash for CompactEmployee
Source§impl PartialEq for CompactEmployee
impl PartialEq for CompactEmployee
Source§impl Serialize for CompactEmployee
impl Serialize for CompactEmployee
impl Eq for CompactEmployee
impl StructuralPartialEq for CompactEmployee
Auto Trait Implementations§
impl Freeze for CompactEmployee
impl RefUnwindSafe for CompactEmployee
impl Send for CompactEmployee
impl Sync for CompactEmployee
impl Unpin for CompactEmployee
impl UnwindSafe for CompactEmployee
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.