[][src]Struct transit_model::PrefixConfiguration

pub struct PrefixConfiguration { /* fields omitted */ }

Metadata for building the prefix.

Implementations

impl PrefixConfiguration[src]

pub fn set_sep<S>(&mut self, sep: S) where
    S: ToString
[src]

Set the prefix separator for PrefixConfiguration.

pub fn set_data_prefix<S>(&mut self, data_prefix: S) where
    S: ToString
[src]

Set the data_prefix in the PrefixConfiguration.

pub fn set_schedule_subprefix<S>(&mut self, schedule_subprefix: S) where
    S: ToString
[src]

Set the schedule_subprefix in the PrefixConfiguration.

pub fn referential_prefix(&self, id: &str) -> String[src]

Add prefix for referential-type object.

Example of objects from the referential are Line or StopPoint.

pub fn schedule_prefix(&self, id: &str) -> String[src]

Add prefix for schedule-type object.

Example of objects from the schedule are VehicleJourney or StopTime.

Trait Implementations

impl Debug for PrefixConfiguration[src]

impl Default for PrefixConfiguration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,