pub struct Buyer { /* private fields */ }Implementations§
Source§impl Buyer
impl Buyer
pub fn new() -> Self
pub fn set_id<T: Into<String>>(&mut self, id: T)
pub fn set_name<T: Into<String>>(&mut self, name: T)
pub fn set_surname<T: Into<String>>(&mut self, surname: T)
pub fn set_identity_number<T: Into<String>>(&mut self, identity_number: T)
pub fn set_email<T: Into<String>>(&mut self, email: T)
pub fn set_gsm_number<T: Into<String>>(&mut self, gsm_number: T)
pub fn set_registration_date<T: Into<String>>(&mut self, registration_date: T)
pub fn set_last_login_date<T: Into<String>>(&mut self, last_login_date: T)
pub fn set_registration_address<T: Into<String>>( &mut self, registration_address: T, )
pub fn set_city<T: Into<String>>(&mut self, city: T)
pub fn set_country<T: Into<String>>(&mut self, country: T)
pub fn set_zip_code<T: Into<String>>(&mut self, zip_code: T)
pub fn set_ip<T: Into<String>>(&mut self, ip: T)
pub fn id(&self) -> Option<&String>
pub fn name(&self) -> Option<&String>
pub fn surname(&self) -> Option<&String>
pub fn identity_number(&self) -> Option<&String>
pub fn email(&self) -> Option<&String>
pub fn gsm_number(&self) -> Option<&String>
pub fn registration_date(&self) -> Option<&String>
pub fn last_login_date(&self) -> Option<&String>
pub fn registration_address(&self) -> Option<&String>
pub fn city(&self) -> Option<&String>
pub fn country(&self) -> Option<&String>
pub fn zip_code(&self) -> Option<&String>
pub fn ip(&self) -> Option<&String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Buyer
impl<'de> Deserialize<'de> for Buyer
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 Buyer
impl RefUnwindSafe for Buyer
impl Send for Buyer
impl Sync for Buyer
impl Unpin for Buyer
impl UnwindSafe for Buyer
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