pub struct PostalLine {
pub code: Option<String>,
pub label: String,
}Expand description
A delivery line of the query, given back with the results as the user wrote it, normalized: “92074 PARIS LA DEFENSE CEDEX 12”. An address checked by the geocoder keeps it, even when the code is unknown.
Fields§
§code: Option<String>§label: String“PARIS LA DEFENSE CEDEX 12”.
Implementations§
Trait Implementations§
Source§impl Clone for PostalLine
impl Clone for PostalLine
Source§impl Debug for PostalLine
impl Debug for PostalLine
impl Eq for PostalLine
Source§impl PartialEq for PostalLine
impl PartialEq for PostalLine
Source§impl Serialize for PostalLine
impl Serialize for PostalLine
impl StructuralPartialEq for PostalLine
Auto Trait Implementations§
impl Forget for PostalLine
impl Freeze for PostalLine
impl Move for PostalLine
impl RefUnwindSafe for PostalLine
impl Send for PostalLine
impl Sync for PostalLine
impl Unpin for PostalLine
impl UnsafeUnpin for PostalLine
impl UnwindSafe for PostalLine
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.