pub struct DisruptionsFilter {
pub construction_sites: bool,
pub construction_sites_only_full_closures: bool,
pub stations: Vec<String>,
pub region_areas: Vec<RegionArea>,
pub disruptions: bool,
pub railway_line_numbers: Vec<u32>,
pub railway_line_rest: bool,
pub duration_of_effect: u32,
pub time: DisruptionsFilterTime,
}
Fields§
§construction_sites: bool
§construction_sites_only_full_closures: bool
§stations: Vec<String>
§region_areas: Vec<RegionArea>
§disruptions: bool
§railway_line_numbers: Vec<u32>
§railway_line_rest: bool
§duration_of_effect: u32
§time: DisruptionsFilterTime
Trait Implementations§
Source§impl Clone for DisruptionsFilter
impl Clone for DisruptionsFilter
Source§fn clone(&self) -> DisruptionsFilter
fn clone(&self) -> DisruptionsFilter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for DisruptionsFilter
impl Default for DisruptionsFilter
Auto Trait Implementations§
impl Freeze for DisruptionsFilter
impl RefUnwindSafe for DisruptionsFilter
impl Send for DisruptionsFilter
impl Sync for DisruptionsFilter
impl Unpin for DisruptionsFilter
impl UnwindSafe for DisruptionsFilter
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