pub struct PurchaserSearchRequest {
pub external_ref: Option<Option<String>>,
pub company_name: Option<Option<String>>,
pub company_ref: Option<String>,
pub first_name: Option<Option<String>>,
pub last_name: Option<Option<String>>,
pub date_of_birth: Option<Option<String>>,
pub phone_number: Option<Option<String>>,
pub email: Option<Option<String>>,
}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.
company_name: Option<Option<String>>§company_ref: Option<String>Identifies a company. For rail, a RICS company code or compatible ERA company code are used. E.g.: ‘urn:uic:rics:1185:000011’
first_name: Option<Option<String>>§last_name: Option<Option<String>>§date_of_birth: Option<Option<String>>§phone_number: Option<Option<String>>Format according to E.164 The international public telecommunication numbering plan
email: Option<Option<String>>Implementations§
Source§impl PurchaserSearchRequest
impl PurchaserSearchRequest
pub fn new() -> PurchaserSearchRequest
Trait Implementations§
Source§impl Clone for PurchaserSearchRequest
impl Clone for PurchaserSearchRequest
Source§fn clone(&self) -> PurchaserSearchRequest
fn clone(&self) -> PurchaserSearchRequest
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 PurchaserSearchRequest
impl Debug for PurchaserSearchRequest
Source§impl Default for PurchaserSearchRequest
impl Default for PurchaserSearchRequest
Source§fn default() -> PurchaserSearchRequest
fn default() -> PurchaserSearchRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PurchaserSearchRequest
impl<'de> Deserialize<'de> for PurchaserSearchRequest
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 PurchaserSearchRequest
impl PartialEq for PurchaserSearchRequest
Source§impl Serialize for PurchaserSearchRequest
impl Serialize for PurchaserSearchRequest
impl StructuralPartialEq for PurchaserSearchRequest
Auto Trait Implementations§
impl Freeze for PurchaserSearchRequest
impl RefUnwindSafe for PurchaserSearchRequest
impl Send for PurchaserSearchRequest
impl Sync for PurchaserSearchRequest
impl Unpin for PurchaserSearchRequest
impl UnwindSafe for PurchaserSearchRequest
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