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