Struct transit_model::objects::CommercialMode
source · pub struct CommercialMode {
pub id: String,
pub name: String,
}
Fields§
§id: String
§name: String
Trait Implementations§
source§impl Debug for CommercialMode
impl Debug for CommercialMode
source§impl Default for CommercialMode
impl Default for CommercialMode
source§impl<'de> Deserialize<'de> for CommercialMode
impl<'de> Deserialize<'de> for CommercialMode
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
source§impl GetCorresponding<CommercialMode> for IdxSet<Calendar>
impl GetCorresponding<CommercialMode> for IdxSet<Calendar>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<CommercialMode>
impl GetCorresponding<CommercialMode> for IdxSet<CommercialMode>
source§fn get_corresponding(&self, _: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, _: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<Company>
impl GetCorresponding<CommercialMode> for IdxSet<Company>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<Contributor>
impl GetCorresponding<CommercialMode> for IdxSet<Contributor>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<Dataset>
impl GetCorresponding<CommercialMode> for IdxSet<Dataset>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<Line>
impl GetCorresponding<CommercialMode> for IdxSet<Line>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<Network>
impl GetCorresponding<CommercialMode> for IdxSet<Network>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<PhysicalMode>
impl GetCorresponding<CommercialMode> for IdxSet<PhysicalMode>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<Route>
impl GetCorresponding<CommercialMode> for IdxSet<Route>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<StopArea>
impl GetCorresponding<CommercialMode> for IdxSet<StopArea>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<StopPoint>
impl GetCorresponding<CommercialMode> for IdxSet<StopPoint>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<Transfer>
impl GetCorresponding<CommercialMode> for IdxSet<Transfer>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl GetCorresponding<CommercialMode> for IdxSet<VehicleJourney>
impl GetCorresponding<CommercialMode> for IdxSet<VehicleJourney>
source§fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
fn get_corresponding(&self, pt_objects: &Model) -> IdxSet<CommercialMode>
For the given self, returns the set of
corresponding
T
indices.source§impl Id<CommercialMode> for CommercialMode
impl Id<CommercialMode> for CommercialMode
source§impl Id<CommercialMode> for Line
impl Id<CommercialMode> for Line
source§impl PartialEq<CommercialMode> for CommercialMode
impl PartialEq<CommercialMode> for CommercialMode
source§fn eq(&self, other: &CommercialMode) -> bool
fn eq(&self, other: &CommercialMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CommercialMode
impl Serialize for CommercialMode
source§impl WithId for CommercialMode
impl WithId for CommercialMode
impl Eq for CommercialMode
impl StructuralEq for CommercialMode
impl StructuralPartialEq for CommercialMode
Auto Trait Implementations§
impl RefUnwindSafe for CommercialMode
impl Send for CommercialMode
impl Sync for CommercialMode
impl Unpin for CommercialMode
impl UnwindSafe for CommercialMode
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