pub struct GeolocationOptions {
pub enable_high_accuracy: bool,
pub timeout_ms: u64,
pub maximum_age_ms: u64,
pub allow_ip_fallback: bool,
}Expand description
Options for acquiring geolocation.
Fields§
§enable_high_accuracy: bool§timeout_ms: u64§maximum_age_ms: u64§allow_ip_fallback: boolPermit coarse HTTPS GeoIP fallback on desktop workstations lacking GPS/OS daemons.
Trait Implementations§
Source§impl Clone for GeolocationOptions
impl Clone for GeolocationOptions
Source§impl Debug for GeolocationOptions
impl Debug for GeolocationOptions
Auto Trait Implementations§
impl Forget for GeolocationOptions
impl Freeze for GeolocationOptions
impl Move for GeolocationOptions
impl RefUnwindSafe for GeolocationOptions
impl Send for GeolocationOptions
impl Sync for GeolocationOptions
impl Unpin for GeolocationOptions
impl UnsafeUnpin for GeolocationOptions
impl UnwindSafe for GeolocationOptions
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