#[non_exhaustive]pub struct LoRaWanGatewayVersionBuilder { /* private fields */ }Expand description
A builder for LoRaWanGatewayVersion.
Implementations§
source§impl LoRaWanGatewayVersionBuilder
impl LoRaWanGatewayVersionBuilder
sourcepub fn package_version(self, input: impl Into<String>) -> Self
pub fn package_version(self, input: impl Into<String>) -> Self
The version of the wireless gateway firmware.
sourcepub fn set_package_version(self, input: Option<String>) -> Self
pub fn set_package_version(self, input: Option<String>) -> Self
The version of the wireless gateway firmware.
sourcepub fn get_package_version(&self) -> &Option<String>
pub fn get_package_version(&self) -> &Option<String>
The version of the wireless gateway firmware.
sourcepub fn set_model(self, input: Option<String>) -> Self
pub fn set_model(self, input: Option<String>) -> Self
The model number of the wireless gateway.
sourcepub fn station(self, input: impl Into<String>) -> Self
pub fn station(self, input: impl Into<String>) -> Self
The basic station version of the wireless gateway.
sourcepub fn set_station(self, input: Option<String>) -> Self
pub fn set_station(self, input: Option<String>) -> Self
The basic station version of the wireless gateway.
sourcepub fn get_station(&self) -> &Option<String>
pub fn get_station(&self) -> &Option<String>
The basic station version of the wireless gateway.
sourcepub fn build(self) -> LoRaWanGatewayVersion
pub fn build(self) -> LoRaWanGatewayVersion
Consumes the builder and constructs a LoRaWanGatewayVersion.
Trait Implementations§
source§impl Clone for LoRaWanGatewayVersionBuilder
impl Clone for LoRaWanGatewayVersionBuilder
source§fn clone(&self) -> LoRaWanGatewayVersionBuilder
fn clone(&self) -> LoRaWanGatewayVersionBuilder
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 Debug for LoRaWanGatewayVersionBuilder
impl Debug for LoRaWanGatewayVersionBuilder
source§impl Default for LoRaWanGatewayVersionBuilder
impl Default for LoRaWanGatewayVersionBuilder
source§fn default() -> LoRaWanGatewayVersionBuilder
fn default() -> LoRaWanGatewayVersionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LoRaWanGatewayVersionBuilder
impl PartialEq for LoRaWanGatewayVersionBuilder
source§fn eq(&self, other: &LoRaWanGatewayVersionBuilder) -> bool
fn eq(&self, other: &LoRaWanGatewayVersionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LoRaWanGatewayVersionBuilder
Auto Trait Implementations§
impl Freeze for LoRaWanGatewayVersionBuilder
impl RefUnwindSafe for LoRaWanGatewayVersionBuilder
impl Send for LoRaWanGatewayVersionBuilder
impl Sync for LoRaWanGatewayVersionBuilder
impl Unpin for LoRaWanGatewayVersionBuilder
impl UnwindSafe for LoRaWanGatewayVersionBuilder
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.