#[non_exhaustive]pub struct LoRaWanUpdateGatewayTaskCreate {
pub update_signature: Option<String>,
pub sig_key_crc: Option<i64>,
pub current_version: Option<LoRaWanGatewayVersion>,
pub update_version: Option<LoRaWanGatewayVersion>,
}Expand description
LoRaWANUpdateGatewayTaskCreate object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.update_signature: Option<String>The signature used to verify the update firmware.
sig_key_crc: Option<i64>The CRC of the signature private key to check.
current_version: Option<LoRaWanGatewayVersion>The version of the gateways that should receive the update.
update_version: Option<LoRaWanGatewayVersion>The firmware version to update the gateway to.
Implementations§
source§impl LoRaWanUpdateGatewayTaskCreate
impl LoRaWanUpdateGatewayTaskCreate
sourcepub fn update_signature(&self) -> Option<&str>
pub fn update_signature(&self) -> Option<&str>
The signature used to verify the update firmware.
sourcepub fn sig_key_crc(&self) -> Option<i64>
pub fn sig_key_crc(&self) -> Option<i64>
The CRC of the signature private key to check.
sourcepub fn current_version(&self) -> Option<&LoRaWanGatewayVersion>
pub fn current_version(&self) -> Option<&LoRaWanGatewayVersion>
The version of the gateways that should receive the update.
sourcepub fn update_version(&self) -> Option<&LoRaWanGatewayVersion>
pub fn update_version(&self) -> Option<&LoRaWanGatewayVersion>
The firmware version to update the gateway to.
source§impl LoRaWanUpdateGatewayTaskCreate
impl LoRaWanUpdateGatewayTaskCreate
sourcepub fn builder() -> LoRaWanUpdateGatewayTaskCreateBuilder
pub fn builder() -> LoRaWanUpdateGatewayTaskCreateBuilder
Creates a new builder-style object to manufacture LoRaWanUpdateGatewayTaskCreate.
Trait Implementations§
source§impl Clone for LoRaWanUpdateGatewayTaskCreate
impl Clone for LoRaWanUpdateGatewayTaskCreate
source§fn clone(&self) -> LoRaWanUpdateGatewayTaskCreate
fn clone(&self) -> LoRaWanUpdateGatewayTaskCreate
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 PartialEq for LoRaWanUpdateGatewayTaskCreate
impl PartialEq for LoRaWanUpdateGatewayTaskCreate
source§fn eq(&self, other: &LoRaWanUpdateGatewayTaskCreate) -> bool
fn eq(&self, other: &LoRaWanUpdateGatewayTaskCreate) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LoRaWanUpdateGatewayTaskCreate
Auto Trait Implementations§
impl Freeze for LoRaWanUpdateGatewayTaskCreate
impl RefUnwindSafe for LoRaWanUpdateGatewayTaskCreate
impl Send for LoRaWanUpdateGatewayTaskCreate
impl Sync for LoRaWanUpdateGatewayTaskCreate
impl Unpin for LoRaWanUpdateGatewayTaskCreate
impl UnwindSafe for LoRaWanUpdateGatewayTaskCreate
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.