pub struct Location {
pub id: String,
pub latitude: f64,
pub longitude: f64,
pub address: String,
pub country_code: String,
pub address_detail: Option<String>,
pub note_to_driver: Option<String>,
}Fields§
§id: String§latitude: f64§longitude: f64§address: String§country_code: String§address_detail: Option<String>Unit / floor / building line (addressDetail), if set in the app.
note_to_driver: Option<String>Saved note to the driver (noteToDriver), if set in the app.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Location
impl<'de> Deserialize<'de> for Location
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
Auto Trait Implementations§
impl Freeze for Location
impl RefUnwindSafe for Location
impl Send for Location
impl Sync for Location
impl Unpin for Location
impl UnsafeUnpin for Location
impl UnwindSafe for Location
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