pub struct PisSpGroup {
pub name: String,
pub basic_pis_group: ContentId,
pub class: String,
pub add_lines: String,
pub add_lines_stations: Vec<PisSpAddLines>,
pub routes: Vec<PisSpRoute>,
}Expand description
PISS-Content-Gruppe passend zur aktiven PIS-Gruppe und einer Fahrzeugklasse.
PISS content group matching the active PIS group and a vehicle class.
Fields§
§name: StringAnzeigename der PISS-Gruppe.
Display name of the PISS group.
basic_pis_group: ContentIdContent-ID der zugrunde liegenden PIS-Basisgruppe.
Content id of the underlying basic PIS group.
class: StringFahrzeugklasse, für die diese PISS-Gruppe gilt.
Vehicle class this PISS group applies to.
add_lines: StringZusätzlicher Linienstring aus der PISS-Gruppe.
Additional line string from the PISS group.
add_lines_stations: Vec<PisSpAddLines>Zusätzliche Linienstrings pro Station.
Additional line strings per station.
routes: Vec<PisSpRoute>In der PISS-Gruppe definierte Routen.
Routes defined in the PISS group.
Implementations§
Source§impl PisSpGroup
impl PisSpGroup
Sourcepub fn get_content_id(class: &str) -> Option<ContentId>
pub fn get_content_id(class: &str) -> Option<ContentId>
Liefert die ContentId der PISS-Gruppe, die zur aktiven PIS-Gruppe passt und die gegebene Klasse hat.
Returns the PISS group content id for the active PIS group and the given class.
Sourcepub fn get_group_strings(content_id: ContentId) -> String
pub fn get_group_strings(content_id: ContentId) -> String
Liefert die zusätzlichen Linien aus der gegebenen PISS-Gruppe.
Returns the additional line string from the given PISS group.
Trait Implementations§
Source§impl Clone for PisSpGroup
impl Clone for PisSpGroup
Source§fn clone(&self) -> PisSpGroup
fn clone(&self) -> PisSpGroup
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more