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