#[non_exhaustive]pub struct DownlinkQueueMessageBuilder { /* private fields */ }Expand description
A builder for DownlinkQueueMessage.
Implementations§
source§impl DownlinkQueueMessageBuilder
impl DownlinkQueueMessageBuilder
sourcepub fn message_id(self, input: impl Into<String>) -> Self
pub fn message_id(self, input: impl Into<String>) -> Self
The message ID assigned by IoT Wireless to each downlink message, which helps identify the message.
sourcepub fn set_message_id(self, input: Option<String>) -> Self
pub fn set_message_id(self, input: Option<String>) -> Self
The message ID assigned by IoT Wireless to each downlink message, which helps identify the message.
sourcepub fn get_message_id(&self) -> &Option<String>
pub fn get_message_id(&self) -> &Option<String>
The message ID assigned by IoT Wireless to each downlink message, which helps identify the message.
sourcepub fn transmit_mode(self, input: i32) -> Self
pub fn transmit_mode(self, input: i32) -> Self
The transmit mode to use for sending data to the wireless device. This can be 0 for UM (unacknowledge mode) or 1 for AM (acknowledge mode).
sourcepub fn set_transmit_mode(self, input: Option<i32>) -> Self
pub fn set_transmit_mode(self, input: Option<i32>) -> Self
The transmit mode to use for sending data to the wireless device. This can be 0 for UM (unacknowledge mode) or 1 for AM (acknowledge mode).
sourcepub fn get_transmit_mode(&self) -> &Option<i32>
pub fn get_transmit_mode(&self) -> &Option<i32>
The transmit mode to use for sending data to the wireless device. This can be 0 for UM (unacknowledge mode) or 1 for AM (acknowledge mode).
sourcepub fn received_at(self, input: impl Into<String>) -> Self
pub fn received_at(self, input: impl Into<String>) -> Self
The time at which Iot Wireless received the downlink message.
sourcepub fn set_received_at(self, input: Option<String>) -> Self
pub fn set_received_at(self, input: Option<String>) -> Self
The time at which Iot Wireless received the downlink message.
sourcepub fn get_received_at(&self) -> &Option<String>
pub fn get_received_at(&self) -> &Option<String>
The time at which Iot Wireless received the downlink message.
sourcepub fn lo_ra_wan(self, input: LoRaWanSendDataToDevice) -> Self
pub fn lo_ra_wan(self, input: LoRaWanSendDataToDevice) -> Self
LoRaWAN router info.
sourcepub fn set_lo_ra_wan(self, input: Option<LoRaWanSendDataToDevice>) -> Self
pub fn set_lo_ra_wan(self, input: Option<LoRaWanSendDataToDevice>) -> Self
LoRaWAN router info.
sourcepub fn get_lo_ra_wan(&self) -> &Option<LoRaWanSendDataToDevice>
pub fn get_lo_ra_wan(&self) -> &Option<LoRaWanSendDataToDevice>
LoRaWAN router info.
sourcepub fn build(self) -> DownlinkQueueMessage
pub fn build(self) -> DownlinkQueueMessage
Consumes the builder and constructs a DownlinkQueueMessage.
Trait Implementations§
source§impl Clone for DownlinkQueueMessageBuilder
impl Clone for DownlinkQueueMessageBuilder
source§fn clone(&self) -> DownlinkQueueMessageBuilder
fn clone(&self) -> DownlinkQueueMessageBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DownlinkQueueMessageBuilder
impl Debug for DownlinkQueueMessageBuilder
source§impl Default for DownlinkQueueMessageBuilder
impl Default for DownlinkQueueMessageBuilder
source§fn default() -> DownlinkQueueMessageBuilder
fn default() -> DownlinkQueueMessageBuilder
source§impl PartialEq<DownlinkQueueMessageBuilder> for DownlinkQueueMessageBuilder
impl PartialEq<DownlinkQueueMessageBuilder> for DownlinkQueueMessageBuilder
source§fn eq(&self, other: &DownlinkQueueMessageBuilder) -> bool
fn eq(&self, other: &DownlinkQueueMessageBuilder) -> bool
self and other values to be equal, and is used
by ==.