pub struct RouteSection {
pub type_field: String,
pub name: String,
pub direction: String,
pub origination_name: String,
pub destination_name: String,
pub originator: String,
pub destination: String,
pub service_type: String,
pub valid_to: String,
pub valid_from: String,
}
Fields§
§type_field: String
§name: String
Route section name
direction: String
Route direction
origination_name: String
Route origin name
destination_name: String
Route destination name
originator: String
Route originator
destination: String
Route destination
service_type: String
Service type of the route. E.g. Regular, Night
valid_to: String
Valid until
valid_from: String
Valid from
Trait Implementations§
Source§impl Clone for RouteSection
impl Clone for RouteSection
Source§fn clone(&self) -> RouteSection
fn clone(&self) -> RouteSection
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 RouteSection
impl Debug for RouteSection
Source§impl Default for RouteSection
impl Default for RouteSection
Source§fn default() -> RouteSection
fn default() -> RouteSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RouteSection
impl<'de> Deserialize<'de> for RouteSection
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 RouteSection
impl PartialEq for RouteSection
Source§impl Serialize for RouteSection
impl Serialize for RouteSection
impl StructuralPartialEq for RouteSection
Auto Trait Implementations§
impl Freeze for RouteSection
impl RefUnwindSafe for RouteSection
impl Send for RouteSection
impl Sync for RouteSection
impl Unpin for RouteSection
impl UnwindSafe for RouteSection
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