#[non_exhaustive]pub struct LoRaWanMulticastSessionBuilder { /* private fields */ }Expand description
A builder for LoRaWanMulticastSession.
Implementations§
source§impl LoRaWanMulticastSessionBuilder
impl LoRaWanMulticastSessionBuilder
sourcepub fn set_dl_freq(self, input: Option<i32>) -> Self
pub fn set_dl_freq(self, input: Option<i32>) -> Self
Downlink frequency.
sourcepub fn get_dl_freq(&self) -> &Option<i32>
pub fn get_dl_freq(&self) -> &Option<i32>
Downlink frequency.
sourcepub fn session_start_time(self, input: DateTime) -> Self
pub fn session_start_time(self, input: DateTime) -> Self
Timestamp of when the multicast group session is to start.
sourcepub fn set_session_start_time(self, input: Option<DateTime>) -> Self
pub fn set_session_start_time(self, input: Option<DateTime>) -> Self
Timestamp of when the multicast group session is to start.
sourcepub fn get_session_start_time(&self) -> &Option<DateTime>
pub fn get_session_start_time(&self) -> &Option<DateTime>
Timestamp of when the multicast group session is to start.
sourcepub fn session_timeout(self, input: i32) -> Self
pub fn session_timeout(self, input: i32) -> Self
How long before a multicast group session is to timeout.
sourcepub fn set_session_timeout(self, input: Option<i32>) -> Self
pub fn set_session_timeout(self, input: Option<i32>) -> Self
How long before a multicast group session is to timeout.
sourcepub fn get_session_timeout(&self) -> &Option<i32>
pub fn get_session_timeout(&self) -> &Option<i32>
How long before a multicast group session is to timeout.
sourcepub fn ping_slot_period(self, input: i32) -> Self
pub fn ping_slot_period(self, input: i32) -> Self
The PingSlotPeriod value.
sourcepub fn set_ping_slot_period(self, input: Option<i32>) -> Self
pub fn set_ping_slot_period(self, input: Option<i32>) -> Self
The PingSlotPeriod value.
sourcepub fn get_ping_slot_period(&self) -> &Option<i32>
pub fn get_ping_slot_period(&self) -> &Option<i32>
The PingSlotPeriod value.
sourcepub fn build(self) -> LoRaWanMulticastSession
pub fn build(self) -> LoRaWanMulticastSession
Consumes the builder and constructs a LoRaWanMulticastSession.
Trait Implementations§
source§impl Clone for LoRaWanMulticastSessionBuilder
impl Clone for LoRaWanMulticastSessionBuilder
source§fn clone(&self) -> LoRaWanMulticastSessionBuilder
fn clone(&self) -> LoRaWanMulticastSessionBuilder
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 LoRaWanMulticastSessionBuilder
impl Default for LoRaWanMulticastSessionBuilder
source§fn default() -> LoRaWanMulticastSessionBuilder
fn default() -> LoRaWanMulticastSessionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LoRaWanMulticastSessionBuilder
impl PartialEq for LoRaWanMulticastSessionBuilder
source§fn eq(&self, other: &LoRaWanMulticastSessionBuilder) -> bool
fn eq(&self, other: &LoRaWanMulticastSessionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LoRaWanMulticastSessionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for LoRaWanMulticastSessionBuilder
impl Send for LoRaWanMulticastSessionBuilder
impl Sync for LoRaWanMulticastSessionBuilder
impl Unpin for LoRaWanMulticastSessionBuilder
impl UnwindSafe for LoRaWanMulticastSessionBuilder
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.