pub struct RegionalValidity {
pub seq_nb: Option<Option<i32>>,
pub zone: Option<Box<Zone>>,
pub route: Option<Box<Route>>,
pub train_link: Option<Box<TrainLink>>,
pub line: Option<Box<Line>>,
pub polygon: Option<Box<Polygon>>,
pub service_constraint: Option<Box<ServiceConstraint>>,
}Expand description
RegionalValidity : One of the elements Zone, ViaStation, TrainLink, Line, or Polygon defining the regional validity
Fields§
§seq_nb: Option<Option<i32>>order number of the list item
zone: Option<Box<Zone>>§route: Option<Box<Route>>§train_link: Option<Box<TrainLink>>§line: Option<Box<Line>>§polygon: Option<Box<Polygon>>§service_constraint: Option<Box<ServiceConstraint>>Implementations§
Source§impl RegionalValidity
impl RegionalValidity
Sourcepub fn new() -> RegionalValidity
pub fn new() -> RegionalValidity
One of the elements Zone, ViaStation, TrainLink, Line, or Polygon defining the regional validity
Trait Implementations§
Source§impl Clone for RegionalValidity
impl Clone for RegionalValidity
Source§fn clone(&self) -> RegionalValidity
fn clone(&self) -> RegionalValidity
Returns a duplicate 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 Debug for RegionalValidity
impl Debug for RegionalValidity
Source§impl Default for RegionalValidity
impl Default for RegionalValidity
Source§fn default() -> RegionalValidity
fn default() -> RegionalValidity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegionalValidity
impl<'de> Deserialize<'de> for RegionalValidity
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 PartialEq for RegionalValidity
impl PartialEq for RegionalValidity
Source§impl Serialize for RegionalValidity
impl Serialize for RegionalValidity
impl StructuralPartialEq for RegionalValidity
Auto Trait Implementations§
impl Freeze for RegionalValidity
impl RefUnwindSafe for RegionalValidity
impl Send for RegionalValidity
impl Sync for RegionalValidity
impl Unpin for RegionalValidity
impl UnwindSafe for RegionalValidity
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