#[non_exhaustive]pub struct ParticipatingGatewaysBuilder { /* private fields */ }Expand description
A builder for ParticipatingGateways.
Implementations§
source§impl ParticipatingGatewaysBuilder
impl ParticipatingGatewaysBuilder
sourcepub fn downlink_mode(self, input: DownlinkMode) -> Self
pub fn downlink_mode(self, input: DownlinkMode) -> Self
Indicates whether to send the downlink message in sequential mode or concurrent mode, or to use only the chosen gateways from the previous uplink message transmission.
This field is required.sourcepub fn set_downlink_mode(self, input: Option<DownlinkMode>) -> Self
pub fn set_downlink_mode(self, input: Option<DownlinkMode>) -> Self
Indicates whether to send the downlink message in sequential mode or concurrent mode, or to use only the chosen gateways from the previous uplink message transmission.
sourcepub fn get_downlink_mode(&self) -> &Option<DownlinkMode>
pub fn get_downlink_mode(&self) -> &Option<DownlinkMode>
Indicates whether to send the downlink message in sequential mode or concurrent mode, or to use only the chosen gateways from the previous uplink message transmission.
sourcepub fn gateway_list(self, input: GatewayListItem) -> Self
pub fn gateway_list(self, input: GatewayListItem) -> Self
Appends an item to gateway_list.
To override the contents of this collection use set_gateway_list.
The list of gateways that you want to use for sending the downlink data traffic.
sourcepub fn set_gateway_list(self, input: Option<Vec<GatewayListItem>>) -> Self
pub fn set_gateway_list(self, input: Option<Vec<GatewayListItem>>) -> Self
The list of gateways that you want to use for sending the downlink data traffic.
sourcepub fn get_gateway_list(&self) -> &Option<Vec<GatewayListItem>>
pub fn get_gateway_list(&self) -> &Option<Vec<GatewayListItem>>
The list of gateways that you want to use for sending the downlink data traffic.
sourcepub fn transmission_interval(self, input: i32) -> Self
pub fn transmission_interval(self, input: i32) -> Self
The duration of time for which AWS IoT Core for LoRaWAN will wait before transmitting the payload to the next gateway.
This field is required.sourcepub fn set_transmission_interval(self, input: Option<i32>) -> Self
pub fn set_transmission_interval(self, input: Option<i32>) -> Self
The duration of time for which AWS IoT Core for LoRaWAN will wait before transmitting the payload to the next gateway.
sourcepub fn get_transmission_interval(&self) -> &Option<i32>
pub fn get_transmission_interval(&self) -> &Option<i32>
The duration of time for which AWS IoT Core for LoRaWAN will wait before transmitting the payload to the next gateway.
sourcepub fn build(self) -> Result<ParticipatingGateways, BuildError>
pub fn build(self) -> Result<ParticipatingGateways, BuildError>
Consumes the builder and constructs a ParticipatingGateways.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ParticipatingGatewaysBuilder
impl Clone for ParticipatingGatewaysBuilder
source§fn clone(&self) -> ParticipatingGatewaysBuilder
fn clone(&self) -> ParticipatingGatewaysBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ParticipatingGatewaysBuilder
impl Debug for ParticipatingGatewaysBuilder
source§impl Default for ParticipatingGatewaysBuilder
impl Default for ParticipatingGatewaysBuilder
source§fn default() -> ParticipatingGatewaysBuilder
fn default() -> ParticipatingGatewaysBuilder
source§impl PartialEq for ParticipatingGatewaysBuilder
impl PartialEq for ParticipatingGatewaysBuilder
source§fn eq(&self, other: &ParticipatingGatewaysBuilder) -> bool
fn eq(&self, other: &ParticipatingGatewaysBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParticipatingGatewaysBuilder
Auto Trait Implementations§
impl Freeze for ParticipatingGatewaysBuilder
impl RefUnwindSafe for ParticipatingGatewaysBuilder
impl Send for ParticipatingGatewaysBuilder
impl Sync for ParticipatingGatewaysBuilder
impl Unpin for ParticipatingGatewaysBuilder
impl UnwindSafe for ParticipatingGatewaysBuilder
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