#[non_exhaustive]pub struct WirelessGatewayStatisticsBuilder { /* private fields */ }Expand description
A builder for WirelessGatewayStatistics.
Implementations§
source§impl WirelessGatewayStatisticsBuilder
impl WirelessGatewayStatisticsBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the wireless gateway 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 gateway reporting the data.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the resource.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the resource.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the resource.
sourcepub fn lo_ra_wan(self, input: LoRaWanGateway) -> Self
pub fn lo_ra_wan(self, input: LoRaWanGateway) -> Self
LoRaWAN gateway info.
sourcepub fn set_lo_ra_wan(self, input: Option<LoRaWanGateway>) -> Self
pub fn set_lo_ra_wan(self, input: Option<LoRaWanGateway>) -> Self
LoRaWAN gateway info.
sourcepub fn get_lo_ra_wan(&self) -> &Option<LoRaWanGateway>
pub fn get_lo_ra_wan(&self) -> &Option<LoRaWanGateway>
LoRaWAN gateway info.
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.
This 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.
This 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.
This value is only valid for 3 months.
sourcepub fn build(self) -> WirelessGatewayStatistics
pub fn build(self) -> WirelessGatewayStatistics
Consumes the builder and constructs a WirelessGatewayStatistics.
Trait Implementations§
source§impl Clone for WirelessGatewayStatisticsBuilder
impl Clone for WirelessGatewayStatisticsBuilder
source§fn clone(&self) -> WirelessGatewayStatisticsBuilder
fn clone(&self) -> WirelessGatewayStatisticsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for WirelessGatewayStatisticsBuilder
impl Default for WirelessGatewayStatisticsBuilder
source§fn default() -> WirelessGatewayStatisticsBuilder
fn default() -> WirelessGatewayStatisticsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for WirelessGatewayStatisticsBuilder
impl PartialEq for WirelessGatewayStatisticsBuilder
source§fn eq(&self, other: &WirelessGatewayStatisticsBuilder) -> bool
fn eq(&self, other: &WirelessGatewayStatisticsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for WirelessGatewayStatisticsBuilder
Auto Trait Implementations§
impl Freeze for WirelessGatewayStatisticsBuilder
impl RefUnwindSafe for WirelessGatewayStatisticsBuilder
impl Send for WirelessGatewayStatisticsBuilder
impl Sync for WirelessGatewayStatisticsBuilder
impl Unpin for WirelessGatewayStatisticsBuilder
impl UnwindSafe for WirelessGatewayStatisticsBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.