[][src]Struct stcp_scraper::Stop

pub struct Stop {
    pub zone: String,
    pub code: String,
    pub name: String,
    pub address: String,
    pub sequence: u8,
}

Fields

zone: String

STCP Zone, e.g., "MAI1" or "PRT3"

code: String

Stop code, e.g., "FRX3" or "TVA1"

name: String

Stop name, e.g., "FREIXO" or "TV. ALDEIA"

address: String

Stop's address, e.g. "R.MAURICIO PEREIRA PINTO"

sequence: u8

Stop index (starting from 1) in the sequence of all stops in a given direction

Trait Implementations

impl PartialEq<Stop> for Stop[src]

impl Debug for Stop[src]

impl Serialize for Stop[src]

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

Auto Trait Implementations

impl Send for Stop

impl Unpin for Stop

impl Sync for Stop

impl UnwindSafe for Stop

impl RefUnwindSafe for Stop

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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