Struct chirpstack_api::as_pb::external::api::GetDeviceResponse[][src]

pub struct GetDeviceResponse {
    pub device: Option<Device>,
    pub last_seen_at: Option<Timestamp>,
    pub device_status_battery: u32,
    pub device_status_margin: i32,
    pub location: Option<Location>,
}

Fields

device: Option<Device>

Device object.

last_seen_at: Option<Timestamp>

Last seen timestamp.

device_status_battery: u32

The device battery status 0: The end-device is connected to an external power source 1..254: The battery level, 1 being at minimum and 254 being at maximum 255: The end-device was not able to measure the battery level 256: The device-status is not available.

device_status_margin: i32

The device margin status -32..32: The demodulation SNR ration in dB 256: The device-status is not available.

location: Option<Location>

Device location. This will set when the network-server was able to resolve the location using the geolocation-server.

Trait Implementations

impl Clone for GetDeviceResponse[src]

impl Debug for GetDeviceResponse[src]

impl Default for GetDeviceResponse[src]

impl Message for GetDeviceResponse[src]

impl PartialEq<GetDeviceResponse> for GetDeviceResponse[src]

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