pub struct TripCollectionResponse {
pub warning: Option<Box<WarningCollection>>,
pub problems: Option<Vec<Problem>>,
pub id: String,
pub trips: Option<Vec<Trip>>,
pub trip_summaries: Option<Vec<TripSummary>>,
pub _links: Option<Vec<Link>>,
}Expand description
TripCollectionResponse : Trip response structure. Provided by OJP.
Fields§
§warning: Option<Box<WarningCollection>>§problems: Option<Vec<Problem>>§id: String§trips: Option<Vec<Trip>>§trip_summaries: Option<Vec<TripSummary>>§_links: Option<Vec<Link>>Java Property Name: ‘links’
Implementations§
Source§impl TripCollectionResponse
impl TripCollectionResponse
Sourcepub fn new(id: String) -> TripCollectionResponse
pub fn new(id: String) -> TripCollectionResponse
Trip response structure. Provided by OJP.
Trait Implementations§
Source§impl Clone for TripCollectionResponse
impl Clone for TripCollectionResponse
Source§fn clone(&self) -> TripCollectionResponse
fn clone(&self) -> TripCollectionResponse
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 TripCollectionResponse
impl Debug for TripCollectionResponse
Source§impl Default for TripCollectionResponse
impl Default for TripCollectionResponse
Source§fn default() -> TripCollectionResponse
fn default() -> TripCollectionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TripCollectionResponse
impl<'de> Deserialize<'de> for TripCollectionResponse
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 TripCollectionResponse
impl PartialEq for TripCollectionResponse
Source§impl Serialize for TripCollectionResponse
impl Serialize for TripCollectionResponse
impl StructuralPartialEq for TripCollectionResponse
Auto Trait Implementations§
impl Freeze for TripCollectionResponse
impl RefUnwindSafe for TripCollectionResponse
impl Send for TripCollectionResponse
impl Sync for TripCollectionResponse
impl Unpin for TripCollectionResponse
impl UnwindSafe for TripCollectionResponse
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