Struct gtfs_structures::RawFrequency
source · pub struct RawFrequency {
pub trip_id: String,
pub start_time: u32,
pub end_time: u32,
pub headway_secs: u32,
pub exact_times: Option<ExactTimes>,
}
Fields§
§trip_id: String
References the Trip that uses frequency
start_time: u32
Time at which the first vehicle departs from the first stop of the trip
end_time: u32
Time at which service changes to a different headway (or ceases) at the first stop in the trip
headway_secs: u32
Time, in seconds, between departures from the same stop (headway) for the trip, during the time interval specified by start_time and end_time
exact_times: Option<ExactTimes>
Indicates the type of service for a trip
Trait Implementations§
source§impl Clone for RawFrequency
impl Clone for RawFrequency
source§fn clone(&self) -> RawFrequency
fn clone(&self) -> RawFrequency
Returns a copy 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 RawFrequency
impl Debug for RawFrequency
source§impl Default for RawFrequency
impl Default for RawFrequency
source§fn default() -> RawFrequency
fn default() -> RawFrequency
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RawFrequency
impl<'de> Deserialize<'de> for RawFrequency
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 RawFrequency
impl RefUnwindSafe for RawFrequency
impl Send for RawFrequency
impl Sync for RawFrequency
impl Unpin for RawFrequency
impl UnwindSafe for RawFrequency
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