pub struct Resources {Show 14 fields
pub event_ticket_classes: Option<Vec<EventTicketClass>>,
pub event_ticket_objects: Option<Vec<EventTicketObject>>,
pub flight_classes: Option<Vec<FlightClass>>,
pub flight_objects: Option<Vec<FlightObject>>,
pub generic_classes: Option<Vec<GenericClass>>,
pub generic_objects: Option<Vec<GenericObject>>,
pub gift_card_classes: Option<Vec<GiftCardClass>>,
pub gift_card_objects: Option<Vec<GiftCardObject>>,
pub loyalty_classes: Option<Vec<LoyaltyClass>>,
pub loyalty_objects: Option<Vec<LoyaltyObject>>,
pub offer_classes: Option<Vec<OfferClass>>,
pub offer_objects: Option<Vec<OfferObject>>,
pub transit_classes: Option<Vec<TransitClass>>,
pub transit_objects: Option<Vec<TransitObject>>,
}
Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§event_ticket_classes: Option<Vec<EventTicketClass>>
A list of event ticket classes.
event_ticket_objects: Option<Vec<EventTicketObject>>
A list of event ticket objects.
flight_classes: Option<Vec<FlightClass>>
A list of flight classes.
flight_objects: Option<Vec<FlightObject>>
A list of flight objects.
generic_classes: Option<Vec<GenericClass>>
A list of generic classes.
generic_objects: Option<Vec<GenericObject>>
A list of generic objects.
gift_card_classes: Option<Vec<GiftCardClass>>
A list of gift card classes.
gift_card_objects: Option<Vec<GiftCardObject>>
A list of gift card objects.
loyalty_classes: Option<Vec<LoyaltyClass>>
A list of loyalty classes.
loyalty_objects: Option<Vec<LoyaltyObject>>
A list of loyalty objects.
offer_classes: Option<Vec<OfferClass>>
A list of offer classes.
offer_objects: Option<Vec<OfferObject>>
A list of offer objects.
transit_classes: Option<Vec<TransitClass>>
A list of transit classes.
transit_objects: Option<Vec<TransitObject>>
A list of transit objects.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Resources
impl<'de> Deserialize<'de> for Resources
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 Part for Resources
Auto Trait Implementations§
impl Freeze for Resources
impl RefUnwindSafe for Resources
impl Send for Resources
impl Sync for Resources
impl Unpin for Resources
impl UnwindSafe for Resources
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
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>
Converts
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>
Converts
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