pub struct GoogleMapsContext { /* private fields */ }Available on crate feature
tools only.Expand description
Contextual Google Maps location used by Gemini retrieval config.
Implementations§
Source§impl GoogleMapsContext
impl GoogleMapsContext
Sourcepub fn new(latitude: f64, longitude: f64) -> GoogleMapsContext
pub fn new(latitude: f64, longitude: f64) -> GoogleMapsContext
Create a new contextual location.
Trait Implementations§
Source§impl Clone for GoogleMapsContext
impl Clone for GoogleMapsContext
Source§fn clone(&self) -> GoogleMapsContext
fn clone(&self) -> GoogleMapsContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GoogleMapsContext
impl Debug for GoogleMapsContext
Source§impl PartialEq for GoogleMapsContext
impl PartialEq for GoogleMapsContext
Source§fn eq(&self, other: &GoogleMapsContext) -> bool
fn eq(&self, other: &GoogleMapsContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GoogleMapsContext
impl StructuralPartialEq for GoogleMapsContext
Auto Trait Implementations§
impl Freeze for GoogleMapsContext
impl RefUnwindSafe for GoogleMapsContext
impl Send for GoogleMapsContext
impl Sync for GoogleMapsContext
impl Unpin for GoogleMapsContext
impl UnsafeUnpin for GoogleMapsContext
impl UnwindSafe for GoogleMapsContext
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