[][src]Struct transit_model::objects::Line

pub struct Line {
    pub id: String,
    pub code: Option<String>,
    pub codes: KeysValues,
    pub object_properties: KeysValues,
    pub comment_links: CommentLinksT,
    pub name: String,
    pub forward_name: Option<String>,
    pub forward_direction: Option<String>,
    pub backward_name: Option<String>,
    pub backward_direction: Option<String>,
    pub color: Option<Rgb>,
    pub text_color: Option<Rgb>,
    pub sort_order: Option<u32>,
    pub network_id: String,
    pub commercial_mode_id: String,
    pub geometry_id: Option<String>,
    pub opening_time: Option<Time>,
    pub closing_time: Option<Time>,
}

Fields

id: Stringcode: Option<String>codes: KeysValuesobject_properties: KeysValuescomment_links: CommentLinksTname: Stringforward_name: Option<String>forward_direction: Option<String>backward_name: Option<String>backward_direction: Option<String>color: Option<Rgb>text_color: Option<Rgb>sort_order: Option<u32>network_id: Stringcommercial_mode_id: Stringgeometry_id: Option<String>opening_time: Option<Time>closing_time: Option<Time>

Trait Implementations

impl AddPrefix for Line[src]

impl Clone for Line[src]

impl Codes for Line[src]

impl Debug for Line[src]

impl Default for Line[src]

impl<'de> Deserialize<'de> for Line[src]

impl GetCorresponding<Line> for IdxSet<Line>[src]

impl GetCorresponding<Line> for IdxSet<VehicleJourney>[src]

impl GetCorresponding<Line> for IdxSet<Transfer>[src]

impl GetCorresponding<Line> for IdxSet<Contributor>[src]

impl GetCorresponding<Line> for IdxSet<Dataset>[src]

impl GetCorresponding<Line> for IdxSet<StopPoint>[src]

impl GetCorresponding<Line> for IdxSet<PhysicalMode>[src]

impl GetCorresponding<Line> for IdxSet<CommercialMode>[src]

impl GetCorresponding<Line> for IdxSet<Company>[src]

impl GetCorresponding<Line> for IdxSet<Network>[src]

impl GetCorresponding<Line> for IdxSet<StopArea>[src]

impl GetCorresponding<Line> for IdxSet<Route>[src]

impl GetCorresponding<Line> for IdxSet<Calendar>[src]

impl GetObjectType for Line[src]

impl Id<CommercialMode> for Line[src]

impl Id<Line> for Line[src]

impl Id<Line> for Route[src]

impl Id<Line> for GridRelCalendarLine[src]

impl Id<Network> for Line[src]

impl PartialEq<Line> for Line[src]

impl Properties for Line[src]

impl Serialize for Line[src]

impl StructuralPartialEq for Line[src]

impl WithId for Line[src]

Auto Trait Implementations

impl RefUnwindSafe for Line

impl Send for Line

impl Sync for Line

impl Unpin for Line

impl UnwindSafe for Line

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,