pub struct PurchaserSpecification {
pub external_ref: Option<Option<String>>,
pub detail: Option<Box<PersonDetail>>,
pub company_details: Option<Box<CompanyDetail>>,
}Expand description
PurchaserSpecification : Minimal specification of a purchaser to request booking of an offer. Exactly one of detail or companyDetails must be provided.
Fields§
§external_ref: Option<Option<String>>A stable reference to a purchaser from other elements, or from caller system. When received in input of a request, it must be echoed back in the response.
detail: Option<Box<PersonDetail>>§company_details: Option<Box<CompanyDetail>>Implementations§
Source§impl PurchaserSpecification
impl PurchaserSpecification
Sourcepub fn new() -> PurchaserSpecification
pub fn new() -> PurchaserSpecification
Minimal specification of a purchaser to request booking of an offer. Exactly one of detail or companyDetails must be provided.
Trait Implementations§
Source§impl Clone for PurchaserSpecification
impl Clone for PurchaserSpecification
Source§fn clone(&self) -> PurchaserSpecification
fn clone(&self) -> PurchaserSpecification
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 PurchaserSpecification
impl Debug for PurchaserSpecification
Source§impl Default for PurchaserSpecification
impl Default for PurchaserSpecification
Source§fn default() -> PurchaserSpecification
fn default() -> PurchaserSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PurchaserSpecification
impl<'de> Deserialize<'de> for PurchaserSpecification
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 PurchaserSpecification
impl PartialEq for PurchaserSpecification
Source§impl Serialize for PurchaserSpecification
impl Serialize for PurchaserSpecification
impl StructuralPartialEq for PurchaserSpecification
Auto Trait Implementations§
impl Freeze for PurchaserSpecification
impl RefUnwindSafe for PurchaserSpecification
impl Send for PurchaserSpecification
impl Sync for PurchaserSpecification
impl Unpin for PurchaserSpecification
impl UnwindSafe for PurchaserSpecification
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