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