pub struct PurchaseDetails {
pub account_id: Option<String>,
pub confirmation_code: Option<String>,
pub purchase_date_time: Option<String>,
pub purchase_receipt_number: Option<String>,
pub ticket_cost: Option<TicketCost>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§account_id: Option<String>
ID of the account used to purchase the ticket.
confirmation_code: Option<String>
The confirmation code for the purchase. This may be the same for multiple different tickets and is used to group tickets together.
purchase_date_time: Option<String>
The purchase date/time of the ticket. This is an ISO 8601 extended format date/time, with or without an offset. Time may be specified up to nanosecond precision. Offsets may be specified with seconds precision (even though offset seconds is not part of ISO 8601). For example: 1985-04-12T23:20:50.52Z
would be 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC. 1985-04-12T19:20:50.52-04:00
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985, 4 hours before UTC (same instant in time as the above example). If the event were in New York, this would be the equivalent of Eastern Daylight Time (EDT). Remember that offset varies in regions that observe Daylight Saving Time (or Summer Time), depending on the time of the year. 1985-04-12T19:20:50.52
would be 20 minutes and 50.52 seconds after the 19th hour of April 12th, 1985 with no offset information. Without offset information, some rich features may not be available.
purchase_receipt_number: Option<String>
Receipt number/identifier for tracking the ticket purchase via the body that sold the ticket.
ticket_cost: Option<TicketCost>
The cost of the ticket.
Trait Implementations§
Source§impl Clone for PurchaseDetails
impl Clone for PurchaseDetails
Source§fn clone(&self) -> PurchaseDetails
fn clone(&self) -> PurchaseDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PurchaseDetails
impl Debug for PurchaseDetails
Source§impl Default for PurchaseDetails
impl Default for PurchaseDetails
Source§fn default() -> PurchaseDetails
fn default() -> PurchaseDetails
Source§impl<'de> Deserialize<'de> for PurchaseDetails
impl<'de> Deserialize<'de> for PurchaseDetails
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>,
Source§impl Serialize for PurchaseDetails
impl Serialize for PurchaseDetails
impl Part for PurchaseDetails
Auto Trait Implementations§
impl Freeze for PurchaseDetails
impl RefUnwindSafe for PurchaseDetails
impl Send for PurchaseDetails
impl Sync for PurchaseDetails
impl Unpin for PurchaseDetails
impl UnwindSafe for PurchaseDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more