#[non_exhaustive]pub struct GetPositionEstimateInput {
pub wi_fi_access_points: Option<Vec<WiFiAccessPoint>>,
pub cell_towers: Option<CellTowers>,
pub ip: Option<Ip>,
pub gnss: Option<Gnss>,
pub timestamp: Option<DateTime>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.wi_fi_access_points: Option<Vec<WiFiAccessPoint>>Retrieves an estimated device position by resolving WLAN measurement data. The position is resolved using HERE's Wi-Fi based solver.
cell_towers: Option<CellTowers>Retrieves an estimated device position by resolving measurement data from cellular radio towers. The position is resolved using HERE's cellular-based solver.
ip: Option<Ip>Retrieves an estimated device position by resolving the IP address information from the device. The position is resolved using MaxMind's IP-based solver.
gnss: Option<Gnss>Retrieves an estimated device position by resolving the global navigation satellite system (GNSS) scan data. The position is resolved using the GNSS solver powered by LoRa Cloud.
timestamp: Option<DateTime>Optional information that specifies the time when the position information will be resolved. It uses the Unix timestamp format. If not specified, the time at which the request was received will be used.
Implementations§
source§impl GetPositionEstimateInput
impl GetPositionEstimateInput
sourcepub fn wi_fi_access_points(&self) -> &[WiFiAccessPoint]
pub fn wi_fi_access_points(&self) -> &[WiFiAccessPoint]
Retrieves an estimated device position by resolving WLAN measurement data. The position is resolved using HERE's Wi-Fi based solver.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .wi_fi_access_points.is_none().
sourcepub fn cell_towers(&self) -> Option<&CellTowers>
pub fn cell_towers(&self) -> Option<&CellTowers>
Retrieves an estimated device position by resolving measurement data from cellular radio towers. The position is resolved using HERE's cellular-based solver.
sourcepub fn ip(&self) -> Option<&Ip>
pub fn ip(&self) -> Option<&Ip>
Retrieves an estimated device position by resolving the IP address information from the device. The position is resolved using MaxMind's IP-based solver.
source§impl GetPositionEstimateInput
impl GetPositionEstimateInput
sourcepub fn builder() -> GetPositionEstimateInputBuilder
pub fn builder() -> GetPositionEstimateInputBuilder
Creates a new builder-style object to manufacture GetPositionEstimateInput.
Trait Implementations§
source§impl Clone for GetPositionEstimateInput
impl Clone for GetPositionEstimateInput
source§fn clone(&self) -> GetPositionEstimateInput
fn clone(&self) -> GetPositionEstimateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetPositionEstimateInput
impl Debug for GetPositionEstimateInput
source§impl PartialEq for GetPositionEstimateInput
impl PartialEq for GetPositionEstimateInput
impl StructuralPartialEq for GetPositionEstimateInput
Auto Trait Implementations§
impl Freeze for GetPositionEstimateInput
impl RefUnwindSafe for GetPositionEstimateInput
impl Send for GetPositionEstimateInput
impl Sync for GetPositionEstimateInput
impl Unpin for GetPositionEstimateInput
impl UnwindSafe for GetPositionEstimateInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more