#[non_exhaustive]pub struct WirelessDeviceStatisticsBuilder { /* private fields */ }Expand description
A builder for WirelessDeviceStatistics.
Implementations§
source§impl WirelessDeviceStatisticsBuilder
impl WirelessDeviceStatisticsBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the wireless device reporting the data.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the wireless device reporting the data.
sourcepub fn type(self, input: WirelessDeviceType) -> Self
pub fn type(self, input: WirelessDeviceType) -> Self
The wireless device type.
sourcepub fn set_type(self, input: Option<WirelessDeviceType>) -> Self
pub fn set_type(self, input: Option<WirelessDeviceType>) -> Self
The wireless device type.
sourcepub fn get_type(&self) -> &Option<WirelessDeviceType>
pub fn get_type(&self) -> &Option<WirelessDeviceType>
The wireless device type.
sourcepub fn destination_name(self, input: impl Into<String>) -> Self
pub fn destination_name(self, input: impl Into<String>) -> Self
The name of the destination to which the device is assigned.
sourcepub fn set_destination_name(self, input: Option<String>) -> Self
pub fn set_destination_name(self, input: Option<String>) -> Self
The name of the destination to which the device is assigned.
sourcepub fn get_destination_name(&self) -> &Option<String>
pub fn get_destination_name(&self) -> &Option<String>
The name of the destination to which the device is assigned.
sourcepub fn last_uplink_received_at(self, input: impl Into<String>) -> Self
pub fn last_uplink_received_at(self, input: impl Into<String>) -> Self
The date and time when the most recent uplink was received.
Theis value is only valid for 3 months.
sourcepub fn set_last_uplink_received_at(self, input: Option<String>) -> Self
pub fn set_last_uplink_received_at(self, input: Option<String>) -> Self
The date and time when the most recent uplink was received.
Theis value is only valid for 3 months.
sourcepub fn get_last_uplink_received_at(&self) -> &Option<String>
pub fn get_last_uplink_received_at(&self) -> &Option<String>
The date and time when the most recent uplink was received.
Theis value is only valid for 3 months.
sourcepub fn lo_ra_wan(self, input: LoRaWanListDevice) -> Self
pub fn lo_ra_wan(self, input: LoRaWanListDevice) -> Self
LoRaWAN device info.
sourcepub fn set_lo_ra_wan(self, input: Option<LoRaWanListDevice>) -> Self
pub fn set_lo_ra_wan(self, input: Option<LoRaWanListDevice>) -> Self
LoRaWAN device info.
sourcepub fn get_lo_ra_wan(&self) -> &Option<LoRaWanListDevice>
pub fn get_lo_ra_wan(&self) -> &Option<LoRaWanListDevice>
LoRaWAN device info.
sourcepub fn sidewalk(self, input: SidewalkListDevice) -> Self
pub fn sidewalk(self, input: SidewalkListDevice) -> Self
The Sidewalk account credentials.
sourcepub fn set_sidewalk(self, input: Option<SidewalkListDevice>) -> Self
pub fn set_sidewalk(self, input: Option<SidewalkListDevice>) -> Self
The Sidewalk account credentials.
sourcepub fn get_sidewalk(&self) -> &Option<SidewalkListDevice>
pub fn get_sidewalk(&self) -> &Option<SidewalkListDevice>
The Sidewalk account credentials.
sourcepub fn fuota_device_status(self, input: FuotaDeviceStatus) -> Self
pub fn fuota_device_status(self, input: FuotaDeviceStatus) -> Self
The status of a wireless device in a FUOTA task.
sourcepub fn set_fuota_device_status(self, input: Option<FuotaDeviceStatus>) -> Self
pub fn set_fuota_device_status(self, input: Option<FuotaDeviceStatus>) -> Self
The status of a wireless device in a FUOTA task.
sourcepub fn get_fuota_device_status(&self) -> &Option<FuotaDeviceStatus>
pub fn get_fuota_device_status(&self) -> &Option<FuotaDeviceStatus>
The status of a wireless device in a FUOTA task.
sourcepub fn multicast_device_status(self, input: impl Into<String>) -> Self
pub fn multicast_device_status(self, input: impl Into<String>) -> Self
The status of the wireless device in the multicast group.
sourcepub fn set_multicast_device_status(self, input: Option<String>) -> Self
pub fn set_multicast_device_status(self, input: Option<String>) -> Self
The status of the wireless device in the multicast group.
sourcepub fn get_multicast_device_status(&self) -> &Option<String>
pub fn get_multicast_device_status(&self) -> &Option<String>
The status of the wireless device in the multicast group.
sourcepub fn mc_group_id(self, input: i32) -> Self
pub fn mc_group_id(self, input: i32) -> Self
Id of the multicast group.
sourcepub fn set_mc_group_id(self, input: Option<i32>) -> Self
pub fn set_mc_group_id(self, input: Option<i32>) -> Self
Id of the multicast group.
sourcepub fn get_mc_group_id(&self) -> &Option<i32>
pub fn get_mc_group_id(&self) -> &Option<i32>
Id of the multicast group.
sourcepub fn build(self) -> WirelessDeviceStatistics
pub fn build(self) -> WirelessDeviceStatistics
Consumes the builder and constructs a WirelessDeviceStatistics.
Trait Implementations§
source§impl Clone for WirelessDeviceStatisticsBuilder
impl Clone for WirelessDeviceStatisticsBuilder
source§fn clone(&self) -> WirelessDeviceStatisticsBuilder
fn clone(&self) -> WirelessDeviceStatisticsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for WirelessDeviceStatisticsBuilder
impl Default for WirelessDeviceStatisticsBuilder
source§fn default() -> WirelessDeviceStatisticsBuilder
fn default() -> WirelessDeviceStatisticsBuilder
source§impl PartialEq<WirelessDeviceStatisticsBuilder> for WirelessDeviceStatisticsBuilder
impl PartialEq<WirelessDeviceStatisticsBuilder> for WirelessDeviceStatisticsBuilder
source§fn eq(&self, other: &WirelessDeviceStatisticsBuilder) -> bool
fn eq(&self, other: &WirelessDeviceStatisticsBuilder) -> bool
self and other values to be equal, and is used
by ==.