pub struct ValidMode {
pub type_field: String,
pub is_tfl_service: bool,
pub is_fare_paying: bool,
pub is_scheduled_service: bool,
pub mode_name: String,
}
Fields§
§type_field: String
§is_tfl_service: bool
Is mode type a TFL service
is_fare_paying: bool
Is Fare paying service
is_scheduled_service: bool
Is it a scheduled service
mode_name: String
Name of the mode
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ValidMode
impl<'de> Deserialize<'de> for ValidMode
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 ValidMode
Auto Trait Implementations§
impl Freeze for ValidMode
impl RefUnwindSafe for ValidMode
impl Send for ValidMode
impl Sync for ValidMode
impl Unpin for ValidMode
impl UnwindSafe for ValidMode
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