pub struct Geocode<'a> { /* private fields */ }Expand description
Builder for Client::geocode
Implementations§
Source§impl<'a> Geocode<'a>
impl<'a> Geocode<'a>
pub fn new(client: &'a Client) -> Self
pub fn language<V>(self, value: V) -> Self
pub fn place<V>(self, value: V) -> Self
pub fn place_bias<V>(self, value: V) -> Self
pub fn text<V>(self, value: V) -> Self
pub fn type_<V>(self, value: V) -> Selfwhere
V: TryInto<LocationType>,
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Geocode<'a>
impl<'a> !UnwindSafe for Geocode<'a>
impl<'a> Freeze for Geocode<'a>
impl<'a> Send for Geocode<'a>
impl<'a> Sync for Geocode<'a>
impl<'a> Unpin for Geocode<'a>
impl<'a> UnsafeUnpin for Geocode<'a>
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