#[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 for WirelessDeviceStatisticsBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for WirelessDeviceStatisticsBuilder
Auto Trait Implementations§
impl Freeze for WirelessDeviceStatisticsBuilder
impl RefUnwindSafe for WirelessDeviceStatisticsBuilder
impl Send for WirelessDeviceStatisticsBuilder
impl Sync for WirelessDeviceStatisticsBuilder
impl Unpin for WirelessDeviceStatisticsBuilder
impl UnwindSafe for WirelessDeviceStatisticsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more