#[non_exhaustive]pub struct LoRaWanUpdateGatewayTaskEntryBuilder { /* private fields */ }Expand description
A builder for LoRaWanUpdateGatewayTaskEntry.
Implementations§
source§impl LoRaWanUpdateGatewayTaskEntryBuilder
impl LoRaWanUpdateGatewayTaskEntryBuilder
sourcepub fn current_version(self, input: LoRaWanGatewayVersion) -> Self
pub fn current_version(self, input: LoRaWanGatewayVersion) -> Self
The version of the gateways that should receive the update.
sourcepub fn set_current_version(self, input: Option<LoRaWanGatewayVersion>) -> Self
pub fn set_current_version(self, input: Option<LoRaWanGatewayVersion>) -> Self
The version of the gateways that should receive the update.
sourcepub fn get_current_version(&self) -> &Option<LoRaWanGatewayVersion>
pub fn get_current_version(&self) -> &Option<LoRaWanGatewayVersion>
The version of the gateways that should receive the update.
sourcepub fn update_version(self, input: LoRaWanGatewayVersion) -> Self
pub fn update_version(self, input: LoRaWanGatewayVersion) -> Self
The firmware version to update the gateway to.
sourcepub fn set_update_version(self, input: Option<LoRaWanGatewayVersion>) -> Self
pub fn set_update_version(self, input: Option<LoRaWanGatewayVersion>) -> Self
The firmware version to update the gateway to.
sourcepub fn get_update_version(&self) -> &Option<LoRaWanGatewayVersion>
pub fn get_update_version(&self) -> &Option<LoRaWanGatewayVersion>
The firmware version to update the gateway to.
sourcepub fn build(self) -> LoRaWanUpdateGatewayTaskEntry
pub fn build(self) -> LoRaWanUpdateGatewayTaskEntry
Consumes the builder and constructs a LoRaWanUpdateGatewayTaskEntry.
Trait Implementations§
source§impl Clone for LoRaWanUpdateGatewayTaskEntryBuilder
impl Clone for LoRaWanUpdateGatewayTaskEntryBuilder
source§fn clone(&self) -> LoRaWanUpdateGatewayTaskEntryBuilder
fn clone(&self) -> LoRaWanUpdateGatewayTaskEntryBuilder
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 LoRaWanUpdateGatewayTaskEntryBuilder
impl Default for LoRaWanUpdateGatewayTaskEntryBuilder
source§fn default() -> LoRaWanUpdateGatewayTaskEntryBuilder
fn default() -> LoRaWanUpdateGatewayTaskEntryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LoRaWanUpdateGatewayTaskEntryBuilder
impl PartialEq for LoRaWanUpdateGatewayTaskEntryBuilder
source§fn eq(&self, other: &LoRaWanUpdateGatewayTaskEntryBuilder) -> bool
fn eq(&self, other: &LoRaWanUpdateGatewayTaskEntryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LoRaWanUpdateGatewayTaskEntryBuilder
Auto Trait Implementations§
impl Freeze for LoRaWanUpdateGatewayTaskEntryBuilder
impl RefUnwindSafe for LoRaWanUpdateGatewayTaskEntryBuilder
impl Send for LoRaWanUpdateGatewayTaskEntryBuilder
impl Sync for LoRaWanUpdateGatewayTaskEntryBuilder
impl Unpin for LoRaWanUpdateGatewayTaskEntryBuilder
impl UnwindSafe for LoRaWanUpdateGatewayTaskEntryBuilder
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.