Struct transit_model::PrefixConfiguration [−][src]
pub struct PrefixConfiguration { /* fields omitted */ }Expand description
Metadata for building the prefix.
Implementations
impl PrefixConfiguration[src]
impl PrefixConfiguration[src]pub fn set_sep<S>(&mut self, sep: S) where
S: ToString, [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]
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]
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]
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]
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 Debug 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> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,