pub struct Customer {
pub name: String,
pub email: Option<String>,
pub phone: Option<String>,
}Expand description
Who is paying, as much as the gateway needs to show them a screen.
Fields§
§name: String§email: Option<String>§phone: Option<String>Trait Implementations§
impl Eq for Customer
impl StructuralPartialEq for Customer
Auto Trait Implementations§
impl Freeze for Customer
impl RefUnwindSafe for Customer
impl Send for Customer
impl Sync for Customer
impl Unpin for Customer
impl UnsafeUnpin for Customer
impl UnwindSafe for Customer
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