pub struct Buyer {
pub buyer_id: Option<String>,
pub name: Option<String>,
pub phone: Option<String>,
pub is_prime_member: Option<bool>,
}Expand description
Buyer : Information about the buyer.
Fields§
§buyer_id: Option<String>The identifier of the buyer.
name: Option<String>The name of the buyer.
phone: Option<String>The phone number of the buyer.
is_prime_member: Option<bool>When true, the service is for an Amazon Prime buyer.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Buyer
impl<'de> Deserialize<'de> for Buyer
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 StructuralPartialEq for Buyer
Auto Trait Implementations§
impl Freeze for Buyer
impl RefUnwindSafe for Buyer
impl Send for Buyer
impl Sync for Buyer
impl Unpin for Buyer
impl UnsafeUnpin for Buyer
impl UnwindSafe for Buyer
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