Struct transit_model::objects::GridExceptionDate
source · pub struct GridExceptionDate {
pub grid_calendar_id: String,
pub date: Date,
pub type: bool,
}
Fields§
§grid_calendar_id: String
§date: Date
§type: bool
Trait Implementations§
source§impl AddPrefix for GridExceptionDate
impl AddPrefix for GridExceptionDate
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 Clone for GridExceptionDate
impl Clone for GridExceptionDate
source§fn clone(&self) -> GridExceptionDate
fn clone(&self) -> GridExceptionDate
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 Debug for GridExceptionDate
impl Debug for GridExceptionDate
source§impl<'de> Deserialize<'de> for GridExceptionDate
impl<'de> Deserialize<'de> for GridExceptionDate
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 Hash for GridExceptionDate
impl Hash for GridExceptionDate
source§impl Id<GridCalendar> for GridExceptionDate
impl Id<GridCalendar> for GridExceptionDate
source§impl PartialEq<GridExceptionDate> for GridExceptionDate
impl PartialEq<GridExceptionDate> for GridExceptionDate
source§fn eq(&self, other: &GridExceptionDate) -> bool
fn eq(&self, other: &GridExceptionDate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GridExceptionDate
impl Serialize for GridExceptionDate
impl Eq for GridExceptionDate
impl StructuralEq for GridExceptionDate
impl StructuralPartialEq for GridExceptionDate
Auto Trait Implementations§
impl RefUnwindSafe for GridExceptionDate
impl Send for GridExceptionDate
impl Sync for GridExceptionDate
impl Unpin for GridExceptionDate
impl UnwindSafe for GridExceptionDate
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