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