Struct lta_models::traffic::carpark_avail::CarPark
source · pub struct CarPark {
pub carpark_id: String,
pub area: String,
pub dev: String,
pub coords: Option<Coordinates>,
pub avail_lots: u32,
pub lot_type: LotType,
pub agency: Agency,
}
Fields§
§carpark_id: String
§area: String
§dev: String
§coords: Option<Coordinates>
§avail_lots: u32
§lot_type: LotType
§agency: Agency
Trait Implementations§
source§impl<'de> Deserialize<'de> for CarPark
impl<'de> Deserialize<'de> for CarPark
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<CarParkRaw> for CarPark
impl From<CarParkRaw> for CarPark
source§fn from(r: CarParkRaw) -> Self
fn from(r: CarParkRaw) -> Self
Converts to this type from the input type.
source§impl PartialEq for CarPark
impl PartialEq for CarPark
impl StructuralPartialEq for CarPark
Auto Trait Implementations§
impl RefUnwindSafe for CarPark
impl Send for CarPark
impl Sync for CarPark
impl Unpin for CarPark
impl UnwindSafe for CarPark
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