Struct tankerkoenig::models::station::AreaNearResponse
source · pub struct AreaNearResponse {
pub ok: bool,
pub license: String,
pub data: String,
pub status: String,
pub stations: Vec<NearStation>,
}
Expand description
Response of the tankerkoenig API for a request of fuel stations in a certain area
Fields§
§ok: bool
Request status
license: String
Data licence
data: String
Data source
status: String
Request status
stations: Vec<NearStation>
Vector of fuel stations in the area
Trait Implementations§
source§impl Clone for AreaNearResponse
impl Clone for AreaNearResponse
source§fn clone(&self) -> AreaNearResponse
fn clone(&self) -> AreaNearResponse
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 AreaNearResponse
impl Debug for AreaNearResponse
source§impl<'de> Deserialize<'de> for AreaNearResponse
impl<'de> Deserialize<'de> for AreaNearResponse
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 AreaNearResponse
impl PartialEq for AreaNearResponse
source§fn eq(&self, other: &AreaNearResponse) -> bool
fn eq(&self, other: &AreaNearResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AreaNearResponse
impl PartialOrd for AreaNearResponse
source§fn partial_cmp(&self, other: &AreaNearResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &AreaNearResponse) -> 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 AreaNearResponse
impl Serialize for AreaNearResponse
impl StructuralPartialEq for AreaNearResponse
Auto Trait Implementations§
impl Freeze for AreaNearResponse
impl RefUnwindSafe for AreaNearResponse
impl Send for AreaNearResponse
impl Sync for AreaNearResponse
impl Unpin for AreaNearResponse
impl UnwindSafe for AreaNearResponse
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
)