Struct lta_models::traffic::carpark_avail::CarParkRaw
source · pub struct CarParkRaw {
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 Clone for CarParkRaw
impl Clone for CarParkRaw
source§fn clone(&self) -> CarParkRaw
fn clone(&self) -> CarParkRaw
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CarParkRaw
impl Debug for CarParkRaw
source§impl<'de> Deserialize<'de> for CarParkRaw
impl<'de> Deserialize<'de> for CarParkRaw
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 CarParkRaw
impl PartialEq for CarParkRaw
source§fn eq(&self, other: &CarParkRaw) -> bool
fn eq(&self, other: &CarParkRaw) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CarParkRaw
impl Serialize for CarParkRaw
impl StructuralPartialEq for CarParkRaw
Auto Trait Implementations§
impl RefUnwindSafe for CarParkRaw
impl Send for CarParkRaw
impl Sync for CarParkRaw
impl Unpin for CarParkRaw
impl UnwindSafe for CarParkRaw
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