pub struct NewCustomer<'a> {Show 14 fields
pub name: &'a str,
pub cpf: &'a str,
pub status: &'a str,
pub phone: &'a str,
pub email: &'a str,
pub username: &'a str,
pub password: &'a str,
pub zipcode: &'a str,
pub product: &'a str,
pub address: &'a str,
pub city: &'a str,
pub complement: Option<&'a str>,
pub number: &'a str,
pub state: &'a str,
}
Expand description
Represents a new customer to be created.
Fields§
§name: &'a str
§cpf: &'a str
§status: &'a str
§phone: &'a str
§email: &'a str
§username: &'a str
§password: &'a str
§zipcode: &'a str
§product: &'a str
§address: &'a str
§city: &'a str
§complement: Option<&'a str>
§number: &'a str
§state: &'a str
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NewCustomer<'a>
impl<'a> RefUnwindSafe for NewCustomer<'a>
impl<'a> Send for NewCustomer<'a>
impl<'a> Sync for NewCustomer<'a>
impl<'a> Unpin for NewCustomer<'a>
impl<'a> UnwindSafe for NewCustomer<'a>
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