pub struct GBFSStationV2FeaturesProperties {Show 14 fields
pub station_id: String,
pub name: String,
pub short_name: Option<String>,
pub address: Option<String>,
pub cross_street: Option<String>,
pub region_id: Option<String>,
pub post_code: Option<String>,
pub is_virtual_station: Option<bool>,
pub parking_type: Option<String>,
pub parking_hoop: Option<bool>,
pub contact_phone: Option<String>,
pub capacity: Option<u64>,
pub is_valet_station: Option<bool>,
pub is_charging_station: Option<bool>,
}Expand description
Station Information feature properties
Fields§
§station_id: StringStation ID
name: StringName
short_name: Option<String>Short name
address: Option<String>Address
cross_street: Option<String>Cross street
region_id: Option<String>Region ID
post_code: Option<String>Post code
is_virtual_station: Option<bool>Is virtual
parking_type: Option<String>Parking type
parking_hoop: Option<bool>Parking hoop
contact_phone: Option<String>Contact phone
capacity: Option<u64>Capacity
is_valet_station: Option<bool>Is valet station
is_charging_station: Option<bool>Is charging station
Trait Implementations§
Source§impl Clone for GBFSStationV2FeaturesProperties
impl Clone for GBFSStationV2FeaturesProperties
Source§fn clone(&self) -> GBFSStationV2FeaturesProperties
fn clone(&self) -> GBFSStationV2FeaturesProperties
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GBFSStationV2FeaturesProperties
impl Default for GBFSStationV2FeaturesProperties
Source§fn default() -> GBFSStationV2FeaturesProperties
fn default() -> GBFSStationV2FeaturesProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GBFSStationV2FeaturesProperties
impl<'de> Deserialize<'de> for GBFSStationV2FeaturesProperties
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 From<&GBFSStationInformationStationV23> for GBFSStationV2FeaturesProperties
impl From<&GBFSStationInformationStationV23> for GBFSStationV2FeaturesProperties
Source§fn from(station: &GBFSStationInformationStationV23) -> Self
fn from(station: &GBFSStationInformationStationV23) -> Self
Converts to this type from the input type.
Source§impl From<&Map<String, ValueType>> for GBFSStationV2FeaturesProperties
Starting from a ref to an MValue, convert to a struct
impl From<&Map<String, ValueType>> for GBFSStationV2FeaturesProperties
Starting from a ref to an MValue, convert to a struct
Source§impl From<&ValueType> for GBFSStationV2FeaturesProperties
If this struct ref is nested into another struct, pull out the MValue and let
From handle
impl From<&ValueType> for GBFSStationV2FeaturesProperties
If this struct ref is nested into another struct, pull out the MValue and let
From
Source§impl From<GBFSStationV2FeaturesProperties> for MValue
Starting from a struct, convert to an MValue
impl From<GBFSStationV2FeaturesProperties> for MValue
Starting from a struct, convert to an MValue
Source§fn from(value: GBFSStationV2FeaturesProperties) -> MValue
fn from(value: GBFSStationV2FeaturesProperties) -> MValue
Converts to this type from the input type.
Source§impl From<GBFSStationV2FeaturesProperties> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
impl From<GBFSStationV2FeaturesProperties> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
Source§fn from(value: GBFSStationV2FeaturesProperties) -> ValueType
fn from(value: GBFSStationV2FeaturesProperties) -> ValueType
Converts to this type from the input type.
Source§impl From<Map<String, ValueType>> for GBFSStationV2FeaturesProperties
Starting from an MValue, convert to a struct
impl From<Map<String, ValueType>> for GBFSStationV2FeaturesProperties
Starting from an MValue, convert to a struct
Source§impl From<ValueType> for GBFSStationV2FeaturesProperties
If this struct is nested into another struct, pull out the MValue and let
From handle
impl From<ValueType> for GBFSStationV2FeaturesProperties
If this struct is nested into another struct, pull out the MValue and let
From
impl MValueCompatible for GBFSStationV2FeaturesProperties
Finally implement the MValueCompatible trait
impl StructuralPartialEq for GBFSStationV2FeaturesProperties
Auto Trait Implementations§
impl Freeze for GBFSStationV2FeaturesProperties
impl RefUnwindSafe for GBFSStationV2FeaturesProperties
impl Send for GBFSStationV2FeaturesProperties
impl Sync for GBFSStationV2FeaturesProperties
impl Unpin for GBFSStationV2FeaturesProperties
impl UnwindSafe for GBFSStationV2FeaturesProperties
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().