pub struct Representative {
pub id: Option<Uuid>,
pub first_name: String,
pub last_name: String,
pub birth_date: String,
pub national_id: String,
pub country_of_issue: String,
pub email: String,
pub phone_country_code: Option<String>,
pub phone_number: Option<String>,
pub address: Address,
}Expand description
Representative information
Fields§
§id: Option<Uuid>§first_name: String§last_name: String§birth_date: String§national_id: String§country_of_issue: String§email: String§phone_country_code: Option<String>§phone_number: Option<String>§address: AddressTrait Implementations§
Source§impl Clone for Representative
impl Clone for Representative
Source§fn clone(&self) -> Representative
fn clone(&self) -> Representative
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 Representative
impl Debug for Representative
Source§impl<'de> Deserialize<'de> for Representative
impl<'de> Deserialize<'de> for Representative
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 Representative
impl RefUnwindSafe for Representative
impl Send for Representative
impl Sync for Representative
impl Unpin for Representative
impl UnwindSafe for Representative
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