#[non_exhaustive]pub struct LoRaWanUpdateGatewayTaskEntry {
pub current_version: Option<LoRaWanGatewayVersion>,
pub update_version: Option<LoRaWanGatewayVersion>,
}Expand description
LoRaWANUpdateGatewayTaskEntry 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.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 LoRaWanUpdateGatewayTaskEntry
impl LoRaWanUpdateGatewayTaskEntry
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 LoRaWanUpdateGatewayTaskEntry
impl LoRaWanUpdateGatewayTaskEntry
sourcepub fn builder() -> LoRaWanUpdateGatewayTaskEntryBuilder
pub fn builder() -> LoRaWanUpdateGatewayTaskEntryBuilder
Creates a new builder-style object to manufacture LoRaWanUpdateGatewayTaskEntry.
Trait Implementations§
source§impl Clone for LoRaWanUpdateGatewayTaskEntry
impl Clone for LoRaWanUpdateGatewayTaskEntry
source§fn clone(&self) -> LoRaWanUpdateGatewayTaskEntry
fn clone(&self) -> LoRaWanUpdateGatewayTaskEntry
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 LoRaWanUpdateGatewayTaskEntry
impl PartialEq for LoRaWanUpdateGatewayTaskEntry
source§fn eq(&self, other: &LoRaWanUpdateGatewayTaskEntry) -> bool
fn eq(&self, other: &LoRaWanUpdateGatewayTaskEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LoRaWanUpdateGatewayTaskEntry
Auto Trait Implementations§
impl RefUnwindSafe for LoRaWanUpdateGatewayTaskEntry
impl Send for LoRaWanUpdateGatewayTaskEntry
impl Sync for LoRaWanUpdateGatewayTaskEntry
impl Unpin for LoRaWanUpdateGatewayTaskEntry
impl UnwindSafe for LoRaWanUpdateGatewayTaskEntry
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.