pub struct Accountant {
pub first_name: Option<String>,
pub last_name: Option<String>,
pub email: Option<String>,
pub phone_number: Option<String>,
}Fields§
§first_name: Option<String>§last_name: Option<String>§email: Option<String>§phone_number: Option<String>Implementations§
Source§impl Accountant
impl Accountant
pub fn new() -> Accountant
Trait Implementations§
Source§impl Clone for Accountant
impl Clone for Accountant
Source§fn clone(&self) -> Accountant
fn clone(&self) -> Accountant
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 Accountant
impl Debug for Accountant
Source§impl Default for Accountant
impl Default for Accountant
Source§fn default() -> Accountant
fn default() -> Accountant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Accountant
impl<'de> Deserialize<'de> for Accountant
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 PartialEq for Accountant
impl PartialEq for Accountant
Source§impl Serialize for Accountant
impl Serialize for Accountant
impl StructuralPartialEq for Accountant
Auto Trait Implementations§
impl Freeze for Accountant
impl RefUnwindSafe for Accountant
impl Send for Accountant
impl Sync for Accountant
impl Unpin for Accountant
impl UnwindSafe for Accountant
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