[−][src]Struct transit_model::PrefixConfiguration
Metadata for building the prefix.
Implementations
impl PrefixConfiguration
[src]
pub fn set_sep<S>(&mut self, sep: S) where
S: ToString,
[src]
S: ToString,
Set the prefix separator for PrefixConfiguration.
pub fn set_data_prefix<S>(&mut self, data_prefix: S) where
S: ToString,
[src]
S: ToString,
Set the data_prefix in the PrefixConfiguration.
pub fn set_schedule_subprefix<S>(&mut self, schedule_subprefix: S) where
S: ToString,
[src]
S: ToString,
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
impl RefUnwindSafe for PrefixConfiguration
impl Send for PrefixConfiguration
impl Sync for PrefixConfiguration
impl Unpin for PrefixConfiguration
impl UnwindSafe for PrefixConfiguration
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,