#[non_exhaustive]pub struct LoRaWanUpdateGatewayTaskCreateBuilder { /* private fields */ }
Expand description
A builder for LoRaWanUpdateGatewayTaskCreate
.
Implementations§
source§impl LoRaWanUpdateGatewayTaskCreateBuilder
impl LoRaWanUpdateGatewayTaskCreateBuilder
sourcepub fn update_signature(self, input: impl Into<String>) -> Self
pub fn update_signature(self, input: impl Into<String>) -> Self
The signature used to verify the update firmware.
sourcepub fn set_update_signature(self, input: Option<String>) -> Self
pub fn set_update_signature(self, input: Option<String>) -> Self
The signature used to verify the update firmware.
sourcepub fn get_update_signature(&self) -> &Option<String>
pub fn get_update_signature(&self) -> &Option<String>
The signature used to verify the update firmware.
sourcepub fn sig_key_crc(self, input: i64) -> Self
pub fn sig_key_crc(self, input: i64) -> Self
The CRC of the signature private key to check.
sourcepub fn set_sig_key_crc(self, input: Option<i64>) -> Self
pub fn set_sig_key_crc(self, input: Option<i64>) -> Self
The CRC of the signature private key to check.
sourcepub fn get_sig_key_crc(&self) -> &Option<i64>
pub fn get_sig_key_crc(&self) -> &Option<i64>
The CRC of the signature private key to check.
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) -> LoRaWanUpdateGatewayTaskCreate
pub fn build(self) -> LoRaWanUpdateGatewayTaskCreate
Consumes the builder and constructs a LoRaWanUpdateGatewayTaskCreate
.
Trait Implementations§
source§impl Clone for LoRaWanUpdateGatewayTaskCreateBuilder
impl Clone for LoRaWanUpdateGatewayTaskCreateBuilder
source§fn clone(&self) -> LoRaWanUpdateGatewayTaskCreateBuilder
fn clone(&self) -> LoRaWanUpdateGatewayTaskCreateBuilder
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 LoRaWanUpdateGatewayTaskCreateBuilder
impl Default for LoRaWanUpdateGatewayTaskCreateBuilder
source§fn default() -> LoRaWanUpdateGatewayTaskCreateBuilder
fn default() -> LoRaWanUpdateGatewayTaskCreateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LoRaWanUpdateGatewayTaskCreateBuilder
impl PartialEq for LoRaWanUpdateGatewayTaskCreateBuilder
source§fn eq(&self, other: &LoRaWanUpdateGatewayTaskCreateBuilder) -> bool
fn eq(&self, other: &LoRaWanUpdateGatewayTaskCreateBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoRaWanUpdateGatewayTaskCreateBuilder
Auto Trait Implementations§
impl Freeze for LoRaWanUpdateGatewayTaskCreateBuilder
impl RefUnwindSafe for LoRaWanUpdateGatewayTaskCreateBuilder
impl Send for LoRaWanUpdateGatewayTaskCreateBuilder
impl Sync for LoRaWanUpdateGatewayTaskCreateBuilder
impl Unpin for LoRaWanUpdateGatewayTaskCreateBuilder
impl UnwindSafe for LoRaWanUpdateGatewayTaskCreateBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.