pub struct Suggestion {
pub street: String,
pub locality: String,
pub administrative_area: String,
pub administrative_area_short: String,
pub administrative_area_long: String,
pub postal_code: String,
pub country_iso3: String,
pub entries: i32,
pub address_text: String,
pub address_id: String,
}
Fields§
§street: String
§locality: String
§administrative_area: String
§administrative_area_short: String
§administrative_area_long: String
§postal_code: String
§country_iso3: String
§entries: i32
§address_text: String
§address_id: String
Trait Implementations§
Source§impl Clone for Suggestion
impl Clone for Suggestion
Source§fn clone(&self) -> Suggestion
fn clone(&self) -> Suggestion
Returns a duplicate 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 Suggestion
impl Debug for Suggestion
Source§impl Default for Suggestion
impl Default for Suggestion
Source§fn default() -> Suggestion
fn default() -> Suggestion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Suggestionwhere
Suggestion: Default,
impl<'de> Deserialize<'de> for Suggestionwhere
Suggestion: Default,
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 Suggestion
impl PartialEq for Suggestion
Source§impl Serialize for Suggestion
impl Serialize for Suggestion
impl StructuralPartialEq for Suggestion
Auto Trait Implementations§
impl Freeze for Suggestion
impl RefUnwindSafe for Suggestion
impl Send for Suggestion
impl Sync for Suggestion
impl Unpin for Suggestion
impl UnwindSafe for Suggestion
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