pub struct StopPlaceRef {
pub object_type: String,
pub stop_place_ref: String,
}Expand description
StopPlaceRef : Reference to a Stop Place using URNs to define code. For UIC see UIC MERITS/TAP-TSI station codes. Provided by OJP.
Fields§
§object_type: StringAttribute is used as discriminator for inheritance between data types.
stop_place_ref: StringImplementations§
Source§impl StopPlaceRef
impl StopPlaceRef
Sourcepub fn new(object_type: String, stop_place_ref: String) -> StopPlaceRef
pub fn new(object_type: String, stop_place_ref: String) -> StopPlaceRef
Reference to a Stop Place using URNs to define code. For UIC see UIC MERITS/TAP-TSI station codes. Provided by OJP.
Trait Implementations§
Source§impl Clone for StopPlaceRef
impl Clone for StopPlaceRef
Source§fn clone(&self) -> StopPlaceRef
fn clone(&self) -> StopPlaceRef
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 StopPlaceRef
impl Debug for StopPlaceRef
Source§impl Default for StopPlaceRef
impl Default for StopPlaceRef
Source§fn default() -> StopPlaceRef
fn default() -> StopPlaceRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StopPlaceRef
impl<'de> Deserialize<'de> for StopPlaceRef
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 StopPlaceRef
impl PartialEq for StopPlaceRef
Source§impl Serialize for StopPlaceRef
impl Serialize for StopPlaceRef
impl StructuralPartialEq for StopPlaceRef
Auto Trait Implementations§
impl Freeze for StopPlaceRef
impl RefUnwindSafe for StopPlaceRef
impl Send for StopPlaceRef
impl Sync for StopPlaceRef
impl Unpin for StopPlaceRef
impl UnwindSafe for StopPlaceRef
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