pub struct Suggestion {
pub country: String,
pub nearest_place: String,
pub words: String,
pub rank: u32,
pub language: String,
pub distance_to_focus_km: Option<u32>,
pub square: Option<Square>,
pub coordinates: Option<Coordinates>,
pub map: Option<String>,
}
Fields§
§country: String
§nearest_place: String
§words: String
§rank: u32
§language: String
§distance_to_focus_km: Option<u32>
§square: Option<Square>
§coordinates: Option<Coordinates>
§map: Option<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<'de> Deserialize<'de> for Suggestion
impl<'de> Deserialize<'de> for Suggestion
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 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