Struct synthpop::IndividTrip
source · pub struct IndividTrip {
pub depart: Time,
pub origin: TripEndpoint,
pub destination: TripEndpoint,
pub mode: TripMode,
pub purpose: TripPurpose,
pub cancelled: bool,
pub modified: bool,
}
Fields§
§depart: Time
§origin: TripEndpoint
§destination: TripEndpoint
§mode: TripMode
§purpose: TripPurpose
§cancelled: bool
§modified: bool
Did a ScenarioModifier affect this?
Implementations§
source§impl IndividTrip
impl IndividTrip
pub fn new( depart: Time, purpose: TripPurpose, origin: TripEndpoint, destination: TripEndpoint, mode: TripMode ) -> IndividTrip
Trait Implementations§
source§impl Clone for IndividTrip
impl Clone for IndividTrip
source§fn clone(&self) -> IndividTrip
fn clone(&self) -> IndividTrip
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 IndividTrip
impl Debug for IndividTrip
source§impl<'de> Deserialize<'de> for IndividTrip
impl<'de> Deserialize<'de> for IndividTrip
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
Auto Trait Implementations§
impl Freeze for IndividTrip
impl RefUnwindSafe for IndividTrip
impl Send for IndividTrip
impl Sync for IndividTrip
impl Unpin for IndividTrip
impl UnwindSafe for IndividTrip
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