Struct transit_model::objects::StopArea
source · pub struct StopArea {
pub id: String,
pub name: String,
pub codes: KeysValues,
pub object_properties: PropertiesMap,
pub comment_links: CommentLinksT,
pub visible: bool,
pub coord: Coord,
pub timezone: Option<Tz>,
pub geometry_id: Option<String>,
pub equipment_id: Option<String>,
pub level_id: Option<String>,
}
Fields§
§id: String
§name: String
§codes: KeysValues
§object_properties: PropertiesMap
§comment_links: CommentLinksT
§visible: bool
§coord: Coord
§timezone: Option<Tz>
§geometry_id: Option<String>
§equipment_id: Option<String>
§level_id: Option<String>
Trait Implementations§
source§impl AddPrefix for StopArea
impl AddPrefix for StopArea
source§fn prefix(&mut self, prefix_conf: &PrefixConfiguration)
fn prefix(&mut self, prefix_conf: &PrefixConfiguration)
Add the prefix to all elements of the object that needs to be prefixed.
PrefixConfiguration contains all the needed metadata to create the
complete prefix.
source§fn add_prefix(&mut self, prefix: &str)
fn add_prefix(&mut self, prefix: &str)
👎Deprecated since 0.24.0: please use
AddPrefix::prefix()
insteadAdd the prefix to all elements of the object that needs to be prefixed.
source§fn add_prefix_with_sep(&mut self, prefix: &str, sep: &str)
fn add_prefix_with_sep(&mut self, prefix: &str, sep: &str)
👎Deprecated since 0.24.0: please use
AddPrefix::prefix()
insteadAdd the prefix to all elements of the object that needs to be prefixed.
A separator will be placed between the prefix and the identifier.
source§impl Codes for StopArea
impl Codes for StopArea
fn codes(&self) -> &KeysValues
fn codes_mut(&mut self) -> &mut KeysValues
source§impl CommentLinks for StopArea
impl CommentLinks for StopArea
fn comment_links(&self) -> &CommentLinksT
fn comment_links_mut(&mut self) -> &mut CommentLinksT
source§impl<'de> Deserialize<'de> for StopArea
impl<'de> Deserialize<'de> for StopArea
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 GetCorresponding<StopArea> for IdxSet<CommercialMode>
impl GetCorresponding<StopArea> for IdxSet<CommercialMode>
source§impl GetCorresponding<StopArea> for IdxSet<Contributor>
impl GetCorresponding<StopArea> for IdxSet<Contributor>
source§impl GetCorresponding<StopArea> for IdxSet<PhysicalMode>
impl GetCorresponding<StopArea> for IdxSet<PhysicalMode>
source§impl GetCorresponding<StopArea> for IdxSet<VehicleJourney>
impl GetCorresponding<StopArea> for IdxSet<VehicleJourney>
source§impl GetObjectType for StopArea
impl GetObjectType for StopArea
fn get_object_type() -> ObjectType
source§impl PartialEq<StopArea> for StopArea
impl PartialEq<StopArea> for StopArea
source§impl Properties for StopArea
impl Properties for StopArea
fn properties(&self) -> &PropertiesMap
fn properties_mut(&mut self) -> &mut PropertiesMap
impl StructuralPartialEq for StopArea
Auto Trait Implementations§
impl RefUnwindSafe for StopArea
impl Send for StopArea
impl Sync for StopArea
impl Unpin for StopArea
impl UnwindSafe for StopArea
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