Trait gtfs_structures::Type
source · pub trait Type {
// Required method
fn object_type(&self) -> ObjectType;
}
Expand description
Trait to introspect what is the object’s type (stop, route…)
Required Methods§
sourcefn object_type(&self) -> ObjectType
fn object_type(&self) -> ObjectType
What is the type of the object