pub struct Lines {
pub type_field: String,
pub id: String,
pub name: String,
pub mode_name: String,
pub disruptions: Vec<Value>,
pub created: String,
pub modified: String,
pub line_statuses: Vec<Value>,
pub route_sections: Vec<RouteSection>,
pub service_types: Vec<ServiceType>,
pub crowding: Crowding,
}
Fields§
§type_field: String
§id: String
Line ID
name: String
Line name. E.g. Bakerloo
mode_name: String
Mode name of the line. E.g. Tube, DLR, Bus
disruptions: Vec<Value>
Disruptions for the line
created: String
Created time
modified: String
Modified time
line_statuses: Vec<Value>
Line statuses
route_sections: Vec<RouteSection>
Route section for the line
service_types: Vec<ServiceType>
Type of the service. E.g. Regular, Night
crowding: Crowding
Crowding details for the line
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Lines
impl<'de> Deserialize<'de> for Lines
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Lines
Auto Trait Implementations§
impl Freeze for Lines
impl RefUnwindSafe for Lines
impl Send for Lines
impl Sync for Lines
impl Unpin for Lines
impl UnwindSafe for Lines
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more