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

pub struct DeviceListItem {
    pub dev_eui: String,
    pub name: String,
    pub application_id: i64,
    pub description: String,
    pub device_profile_id: String,
    pub device_profile_name: String,
    pub device_status_battery: u32,
    pub device_status_margin: i32,
    pub device_status_external_power_source: bool,
    pub device_status_battery_level_unavailable: bool,
    pub device_status_battery_level: f32,
    pub last_seen_at: SingularPtrField<Timestamp>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

dev_eui: Stringname: Stringapplication_id: i64description: Stringdevice_profile_id: Stringdevice_profile_name: Stringdevice_status_battery: u32device_status_margin: i32device_status_external_power_source: booldevice_status_battery_level_unavailable: booldevice_status_battery_level: f32last_seen_at: SingularPtrField<Timestamp>unknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl DeviceListItem[src]

pub fn new() -> DeviceListItem[src]

pub fn get_dev_eui(&self) -> &str[src]

pub fn clear_dev_eui(&mut self)[src]

pub fn set_dev_eui(&mut self, v: String)[src]

pub fn mut_dev_eui(&mut self) -> &mut String[src]

pub fn take_dev_eui(&mut self) -> String[src]

pub fn get_name(&self) -> &str[src]

pub fn clear_name(&mut self)[src]

pub fn set_name(&mut self, v: String)[src]

pub fn mut_name(&mut self) -> &mut String[src]

pub fn take_name(&mut self) -> String[src]

pub fn get_application_id(&self) -> i64[src]

pub fn clear_application_id(&mut self)[src]

pub fn set_application_id(&mut self, v: i64)[src]

pub fn get_description(&self) -> &str[src]

pub fn clear_description(&mut self)[src]

pub fn set_description(&mut self, v: String)[src]

pub fn mut_description(&mut self) -> &mut String[src]

pub fn take_description(&mut self) -> String[src]

pub fn get_device_profile_id(&self) -> &str[src]

pub fn clear_device_profile_id(&mut self)[src]

pub fn set_device_profile_id(&mut self, v: String)[src]

pub fn mut_device_profile_id(&mut self) -> &mut String[src]

pub fn take_device_profile_id(&mut self) -> String[src]

pub fn get_device_profile_name(&self) -> &str[src]

pub fn clear_device_profile_name(&mut self)[src]

pub fn set_device_profile_name(&mut self, v: String)[src]

pub fn mut_device_profile_name(&mut self) -> &mut String[src]

pub fn take_device_profile_name(&mut self) -> String[src]

pub fn get_device_status_battery(&self) -> u32[src]

pub fn clear_device_status_battery(&mut self)[src]

pub fn set_device_status_battery(&mut self, v: u32)[src]

pub fn get_device_status_margin(&self) -> i32[src]

pub fn clear_device_status_margin(&mut self)[src]

pub fn set_device_status_margin(&mut self, v: i32)[src]

pub fn get_device_status_external_power_source(&self) -> bool[src]

pub fn clear_device_status_external_power_source(&mut self)[src]

pub fn set_device_status_external_power_source(&mut self, v: bool)[src]

pub fn get_device_status_battery_level_unavailable(&self) -> bool[src]

pub fn clear_device_status_battery_level_unavailable(&mut self)[src]

pub fn set_device_status_battery_level_unavailable(&mut self, v: bool)[src]

pub fn get_device_status_battery_level(&self) -> f32[src]

pub fn clear_device_status_battery_level(&mut self)[src]

pub fn set_device_status_battery_level(&mut self, v: f32)[src]

pub fn get_last_seen_at(&self) -> &Timestamp[src]

pub fn clear_last_seen_at(&mut self)[src]

pub fn has_last_seen_at(&self) -> bool[src]

pub fn set_last_seen_at(&mut self, v: Timestamp)[src]

pub fn mut_last_seen_at(&mut self) -> &mut Timestamp[src]

pub fn take_last_seen_at(&mut self) -> Timestamp[src]

Trait Implementations

impl Clear for DeviceListItem[src]

impl Clone for DeviceListItem[src]

impl Debug for DeviceListItem[src]

impl Default for DeviceListItem[src]

impl<'a> Default for &'a DeviceListItem[src]

impl Message for DeviceListItem[src]

impl PartialEq<DeviceListItem> for DeviceListItem[src]

impl ProtobufValue for DeviceListItem[src]

impl StructuralPartialEq for DeviceListItem[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, U> Into<U> for T where
    U: From<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.