Struct gtfs_structures::StopTransfer
source · pub struct StopTransfer {
pub to_stop_id: String,
pub transfer_type: TransferType,
pub min_transfer_time: Option<u32>,
}
Expand description
Transfer information between stops
Fields§
§to_stop_id: String
Stop which to transfer to
transfer_type: TransferType
Type of the transfer
min_transfer_time: Option<u32>
Minimum time needed to make the transfer in seconds
Trait Implementations§
source§impl Clone for StopTransfer
impl Clone for StopTransfer
source§fn clone(&self) -> StopTransfer
fn clone(&self) -> StopTransfer
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 StopTransfer
impl Debug for StopTransfer
source§impl Default for StopTransfer
impl Default for StopTransfer
source§fn default() -> StopTransfer
fn default() -> StopTransfer
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StopTransfer
impl<'de> Deserialize<'de> for StopTransfer
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 From<RawTransfer> for StopTransfer
impl From<RawTransfer> for StopTransfer
source§fn from(transfer: RawTransfer) -> Self
fn from(transfer: RawTransfer) -> Self
Converts from a RawTransfer to a StopTransfer
Auto Trait Implementations§
impl Freeze for StopTransfer
impl RefUnwindSafe for StopTransfer
impl Send for StopTransfer
impl Sync for StopTransfer
impl Unpin for StopTransfer
impl UnwindSafe for StopTransfer
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