#[non_exhaustive]pub struct LoRaWanGatewayCurrentVersionBuilder { /* private fields */ }Expand description
A builder for LoRaWanGatewayCurrentVersion.
Implementations§
source§impl LoRaWanGatewayCurrentVersionBuilder
impl LoRaWanGatewayCurrentVersionBuilder
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 build(self) -> LoRaWanGatewayCurrentVersion
pub fn build(self) -> LoRaWanGatewayCurrentVersion
Consumes the builder and constructs a LoRaWanGatewayCurrentVersion.
Trait Implementations§
source§impl Clone for LoRaWanGatewayCurrentVersionBuilder
impl Clone for LoRaWanGatewayCurrentVersionBuilder
source§fn clone(&self) -> LoRaWanGatewayCurrentVersionBuilder
fn clone(&self) -> LoRaWanGatewayCurrentVersionBuilder
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 LoRaWanGatewayCurrentVersionBuilder
impl Default for LoRaWanGatewayCurrentVersionBuilder
source§fn default() -> LoRaWanGatewayCurrentVersionBuilder
fn default() -> LoRaWanGatewayCurrentVersionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LoRaWanGatewayCurrentVersionBuilder
impl PartialEq for LoRaWanGatewayCurrentVersionBuilder
source§fn eq(&self, other: &LoRaWanGatewayCurrentVersionBuilder) -> bool
fn eq(&self, other: &LoRaWanGatewayCurrentVersionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LoRaWanGatewayCurrentVersionBuilder
Auto Trait Implementations§
impl Freeze for LoRaWanGatewayCurrentVersionBuilder
impl RefUnwindSafe for LoRaWanGatewayCurrentVersionBuilder
impl Send for LoRaWanGatewayCurrentVersionBuilder
impl Sync for LoRaWanGatewayCurrentVersionBuilder
impl Unpin for LoRaWanGatewayCurrentVersionBuilder
impl UnwindSafe for LoRaWanGatewayCurrentVersionBuilder
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.