pub struct UnitContact {
pub first_name: Option<String>,
pub last_name: Option<String>,
pub email: Option<String>,
pub phone: Option<String>,
}Expand description
A unit contact person.
Fields§
§first_name: Option<String>§last_name: Option<String>§email: Option<String>§phone: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for UnitContact
impl Clone for UnitContact
Source§fn clone(&self) -> UnitContact
fn clone(&self) -> UnitContact
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 UnitContact
impl Debug for UnitContact
Source§impl<'de> Deserialize<'de> for UnitContact
impl<'de> Deserialize<'de> for UnitContact
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 UnitContact
impl RefUnwindSafe for UnitContact
impl Send for UnitContact
impl Sync for UnitContact
impl Unpin for UnitContact
impl UnsafeUnpin for UnitContact
impl UnwindSafe for UnitContact
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