pub struct TripUpdate {
pub trip: TripDescriptor,
pub vehicle: Option<VehicleDescriptor>,
pub stop_time_update: Option<StopTimeUpdate>,
pub timestamp: Option<u64>,
pub delay: Option<i32>,
}
Fields§
§trip: TripDescriptor
§vehicle: Option<VehicleDescriptor>
§stop_time_update: Option<StopTimeUpdate>
§timestamp: Option<u64>
§delay: Option<i32>
Trait Implementations§
Source§impl Clone for TripUpdate
impl Clone for TripUpdate
Source§fn clone(&self) -> TripUpdate
fn clone(&self) -> TripUpdate
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 TripUpdate
impl Debug for TripUpdate
Source§impl<'de> Deserialize<'de> for TripUpdate
impl<'de> Deserialize<'de> for TripUpdate
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
Auto Trait Implementations§
impl Freeze for TripUpdate
impl RefUnwindSafe for TripUpdate
impl Send for TripUpdate
impl Sync for TripUpdate
impl Unpin for TripUpdate
impl UnwindSafe for TripUpdate
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