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>,
}Fields§
§name: String§basic_pis_group: ContentId§class: String§add_lines: String§add_lines_stations: Vec<PisSpAddLines>§routes: Vec<PisSpRoute>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 PISG passt und die gegebene Klasse hat.
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.
Trait Implementations§
Source§impl Clone for PisSpGroup
impl Clone for PisSpGroup
Source§fn clone(&self) -> PisSpGroup
fn clone(&self) -> PisSpGroup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PisSpGroup
impl Debug for PisSpGroup
impl Eq for PisSpGroup
Source§impl PartialEq for PisSpGroup
impl PartialEq for PisSpGroup
Source§fn eq(&self, other: &PisSpGroup) -> bool
fn eq(&self, other: &PisSpGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PisSpGroup
Auto Trait Implementations§
impl Freeze for PisSpGroup
impl RefUnwindSafe for PisSpGroup
impl Send for PisSpGroup
impl Sync for PisSpGroup
impl Unpin for PisSpGroup
impl UnsafeUnpin for PisSpGroup
impl UnwindSafe for PisSpGroup
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