pub struct Customer {
pub id: CustomerId,
pub full_name: Name,
pub email: Option<Email>,
pub mobile_phone: Option<Phone>,
pub preferred_contact: ContactChannel,
pub portal_account: Option<PortalAccountRef>,
}Expand description
Customer/account profile used for reservation ownership, consent-sensitive messaging, and follow-up work.
Fields§
§id: CustomerIdSource-backed id carried by this normalized pet-resort entity.
full_name: NameSource-backed full name carried by this normalized pet-resort entity.
email: Option<Email>Source-backed email carried by this normalized pet-resort entity.
mobile_phone: Option<Phone>Source-backed mobile phone carried by this normalized pet-resort entity.
preferred_contact: ContactChannelSource-backed preferred contact carried by this normalized pet-resort entity.
portal_account: Option<PortalAccountRef>Source-backed portal account carried by this normalized pet-resort entity.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Customer
impl<'de> Deserialize<'de> for Customer
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
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