Struct tankerkoenig::models::station::AreaFuelResponse
source · pub struct AreaFuelResponse {
pub ok: bool,
pub license: String,
pub data: String,
pub status: String,
pub stations: Vec<AreaStationFuel>,
}
Expand description
Response of the tankerkoenig API for a request for fuel in a certain area
Fields§
§ok: bool
Request status
license: String
Data licence
data: String
Data source
status: String
Request status
stations: Vec<AreaStationFuel>
List of stations in the area with the requested fuel
Trait Implementations§
source§impl Clone for AreaFuelResponse
impl Clone for AreaFuelResponse
source§fn clone(&self) -> AreaFuelResponse
fn clone(&self) -> AreaFuelResponse
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 AreaFuelResponse
impl Debug for AreaFuelResponse
source§impl<'de> Deserialize<'de> for AreaFuelResponse
impl<'de> Deserialize<'de> for AreaFuelResponse
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 PartialEq for AreaFuelResponse
impl PartialEq for AreaFuelResponse
source§fn eq(&self, other: &AreaFuelResponse) -> bool
fn eq(&self, other: &AreaFuelResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AreaFuelResponse
impl PartialOrd for AreaFuelResponse
source§fn partial_cmp(&self, other: &AreaFuelResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &AreaFuelResponse) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for AreaFuelResponse
impl Serialize for AreaFuelResponse
impl StructuralPartialEq for AreaFuelResponse
Auto Trait Implementations§
impl Freeze for AreaFuelResponse
impl RefUnwindSafe for AreaFuelResponse
impl Send for AreaFuelResponse
impl Sync for AreaFuelResponse
impl Unpin for AreaFuelResponse
impl UnwindSafe for AreaFuelResponse
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)