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

pub struct StatusEvent {
    pub application_id: u64,
    pub application_name: String,
    pub device_name: String,
    pub dev_eui: Vec<u8>,
    pub margin: i32,
    pub external_power_source: bool,
    pub battery_level_unavailable: bool,
    pub battery_level: f32,
    pub tags: HashMap<String, String>,
}

StatusEvent is the message sent when a device-status mac-command was sent by the device.

Fields

application_id: u64

Application ID.

application_name: String

Application name.

device_name: String

Device name.

dev_eui: Vec<u8>

Device EUI.

margin: i32

The demodulation signal-to-noise ratio in dB for the last successfully received device-status request by the Network Server.

external_power_source: bool

Device is connected to an external power source.

battery_level_unavailable: bool

Battery level is not available.

battery_level: f32

Battery level.

tags: HashMap<String, String>

User-defined device tags.

Trait Implementations

impl Clone for StatusEvent[src]

impl Debug for StatusEvent[src]

impl Default for StatusEvent[src]

impl Message for StatusEvent[src]

impl PartialEq<StatusEvent> for StatusEvent[src]

impl StructuralPartialEq for StatusEvent[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]