Struct transit_model::vptranslator::BlockPattern
source · pub struct BlockPattern {
pub operating_days: Vec<Weekday>,
pub validity_period: Option<ValidityPeriod>,
pub exceptions: Vec<ExceptionDate>,
}
Expand description
Presents a list of dates in the form of intervals and exception dates.
Fields§
§operating_days: Vec<Weekday>
Indicates operating days of the service
validity_period: Option<ValidityPeriod>
Start and end service day for the service interval
exceptions: Vec<ExceptionDate>
List of dates where service is available or not in interval.
Trait Implementations§
source§impl Debug for BlockPattern
impl Debug for BlockPattern
source§impl Default for BlockPattern
impl Default for BlockPattern
source§fn default() -> BlockPattern
fn default() -> BlockPattern
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BlockPattern
impl Send for BlockPattern
impl Sync for BlockPattern
impl Unpin for BlockPattern
impl UnwindSafe for BlockPattern
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