Struct chirpstack_api::as_pb::integration::LocationEvent[][src]

pub struct LocationEvent {
    pub application_id: u64,
    pub application_name: String,
    pub device_name: String,
    pub dev_eui: Vec<u8>,
    pub location: Option<Location>,
    pub tags: HashMap<String, String>,
    pub uplink_ids: Vec<Vec<u8>>,
    pub f_cnt: u32,
}

LocationEvent is the message sent when a geolocation resolve was returned.

Fields

application_id: u64

Application ID.

application_name: String

Application name.

device_name: String

Device name.

dev_eui: Vec<u8>

Device EUI.

location: Option<Location>

Location.

tags: HashMap<String, String>

User-defined device tags.

uplink_ids: Vec<Vec<u8>>

Uplink IDs used for geolocation. This is set in case the geolocation is based on the uplink meta-data.

f_cnt: u32

Frame counter (in case the geolocation is based on the payload). This is set in case the geolocation is based on the uplink payload content.

Trait Implementations

impl Clone for LocationEvent[src]

impl Debug for LocationEvent[src]

impl Default for LocationEvent[src]

impl Message for LocationEvent[src]

impl PartialEq<LocationEvent> for LocationEvent[src]

impl StructuralPartialEq for LocationEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]