Struct transit_model::objects::GridCalendar
source · pub struct GridCalendar {
pub id: String,
pub name: String,
pub monday: bool,
pub tuesday: bool,
pub wednesday: bool,
pub thursday: bool,
pub friday: bool,
pub saturday: bool,
pub sunday: bool,
}
Fields§
§id: String
§name: String
§monday: bool
§tuesday: bool
§wednesday: bool
§thursday: bool
§friday: bool
§saturday: bool
§sunday: bool
Trait Implementations§
source§impl AddPrefix for GridCalendar
impl AddPrefix for GridCalendar
source§fn prefix(&mut self, prefix_conf: &PrefixConfiguration)
fn prefix(&mut self, prefix_conf: &PrefixConfiguration)
Add the prefix to all elements of the object that needs to be prefixed.
PrefixConfiguration contains all the needed metadata to create the
complete prefix.
source§fn add_prefix(&mut self, prefix: &str)
fn add_prefix(&mut self, prefix: &str)
👎Deprecated since 0.24.0: please use
AddPrefix::prefix()
insteadAdd the prefix to all elements of the object that needs to be prefixed.
source§fn add_prefix_with_sep(&mut self, prefix: &str, sep: &str)
fn add_prefix_with_sep(&mut self, prefix: &str, sep: &str)
👎Deprecated since 0.24.0: please use
AddPrefix::prefix()
insteadAdd the prefix to all elements of the object that needs to be prefixed.
A separator will be placed between the prefix and the identifier.
source§impl Debug for GridCalendar
impl Debug for GridCalendar
source§impl<'de> Deserialize<'de> for GridCalendar
impl<'de> Deserialize<'de> for GridCalendar
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 Id<GridCalendar> for GridCalendar
impl Id<GridCalendar> for GridCalendar
source§impl Id<GridCalendar> for GridExceptionDate
impl Id<GridCalendar> for GridExceptionDate
source§impl Id<GridCalendar> for GridPeriod
impl Id<GridCalendar> for GridPeriod
source§impl Id<GridCalendar> for GridRelCalendarLine
impl Id<GridCalendar> for GridRelCalendarLine
Auto Trait Implementations§
impl RefUnwindSafe for GridCalendar
impl Send for GridCalendar
impl Sync for GridCalendar
impl Unpin for GridCalendar
impl UnwindSafe for GridCalendar
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