Struct synthpop::PersonSpec [−][src]
pub struct PersonSpec {
pub orig_id: Option<OrigPersonID>,
pub trips: Vec<IndividTrip>,
}
Fields
orig_id: Option<OrigPersonID>
Just used for debugging
trips: Vec<IndividTrip>
There must be continuity between trips: each trip starts at the destination of the previous trip. In the case of borders, the outbound and inbound border may be different. This means that there was some sort of “remote” trip happening outside the map that we don’t simulate.
Implementations
Verify that a person’s trips make sense
Trait Implementations
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 RefUnwindSafe for PersonSpec
impl Send for PersonSpec
impl Sync for PersonSpec
impl Unpin for PersonSpec
impl UnwindSafe for PersonSpec
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self