Enum map_model::edits::perma::PermanentEditCmd [−][src]
pub enum PermanentEditCmd {
ChangeRoad {
r: OriginalRoad,
new: EditRoad,
old: EditRoad,
},
ChangeIntersection {
i: NodeID,
new: PermanentEditIntersection,
old: PermanentEditIntersection,
},
ChangeRouteSchedule {
osm_rel_id: RelationID,
old: Vec<Time>,
new: Vec<Time>,
},
}
Variants
Fields of ChangeRoad
Fields of ChangeIntersection
Fields of ChangeRouteSchedule
Implementations
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 PermanentEditCmd
impl Send for PermanentEditCmd
impl Sync for PermanentEditCmd
impl Unpin for PermanentEditCmd
impl UnwindSafe for PermanentEditCmd
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