#[non_exhaustive]pub struct LoRaWanUpdateDeviceBuilder { /* private fields */ }Expand description
A builder for LoRaWanUpdateDevice.
Implementations§
source§impl LoRaWanUpdateDeviceBuilder
impl LoRaWanUpdateDeviceBuilder
sourcepub fn device_profile_id(self, input: impl Into<String>) -> Self
pub fn device_profile_id(self, input: impl Into<String>) -> Self
The ID of the device profile for the wireless device.
sourcepub fn set_device_profile_id(self, input: Option<String>) -> Self
pub fn set_device_profile_id(self, input: Option<String>) -> Self
The ID of the device profile for the wireless device.
sourcepub fn get_device_profile_id(&self) -> &Option<String>
pub fn get_device_profile_id(&self) -> &Option<String>
The ID of the device profile for the wireless device.
sourcepub fn service_profile_id(self, input: impl Into<String>) -> Self
pub fn service_profile_id(self, input: impl Into<String>) -> Self
The ID of the service profile.
sourcepub fn set_service_profile_id(self, input: Option<String>) -> Self
pub fn set_service_profile_id(self, input: Option<String>) -> Self
The ID of the service profile.
sourcepub fn get_service_profile_id(&self) -> &Option<String>
pub fn get_service_profile_id(&self) -> &Option<String>
The ID of the service profile.
sourcepub fn abp_v1_1(self, input: UpdateAbpV11) -> Self
pub fn abp_v1_1(self, input: UpdateAbpV11) -> Self
ABP device object for update APIs for v1.1
sourcepub fn set_abp_v1_1(self, input: Option<UpdateAbpV11>) -> Self
pub fn set_abp_v1_1(self, input: Option<UpdateAbpV11>) -> Self
ABP device object for update APIs for v1.1
sourcepub fn get_abp_v1_1(&self) -> &Option<UpdateAbpV11>
pub fn get_abp_v1_1(&self) -> &Option<UpdateAbpV11>
ABP device object for update APIs for v1.1
sourcepub fn abp_v1_0_x(self, input: UpdateAbpV10X) -> Self
pub fn abp_v1_0_x(self, input: UpdateAbpV10X) -> Self
ABP device object for update APIs for v1.0.x
sourcepub fn set_abp_v1_0_x(self, input: Option<UpdateAbpV10X>) -> Self
pub fn set_abp_v1_0_x(self, input: Option<UpdateAbpV10X>) -> Self
ABP device object for update APIs for v1.0.x
sourcepub fn get_abp_v1_0_x(&self) -> &Option<UpdateAbpV10X>
pub fn get_abp_v1_0_x(&self) -> &Option<UpdateAbpV10X>
ABP device object for update APIs for v1.0.x
sourcepub fn f_ports(self, input: UpdateFPorts) -> Self
pub fn f_ports(self, input: UpdateFPorts) -> Self
FPorts object for the positioning information of the device.
sourcepub fn set_f_ports(self, input: Option<UpdateFPorts>) -> Self
pub fn set_f_ports(self, input: Option<UpdateFPorts>) -> Self
FPorts object for the positioning information of the device.
sourcepub fn get_f_ports(&self) -> &Option<UpdateFPorts>
pub fn get_f_ports(&self) -> &Option<UpdateFPorts>
FPorts object for the positioning information of the device.
sourcepub fn build(self) -> LoRaWanUpdateDevice
pub fn build(self) -> LoRaWanUpdateDevice
Consumes the builder and constructs a LoRaWanUpdateDevice.
Trait Implementations§
source§impl Clone for LoRaWanUpdateDeviceBuilder
impl Clone for LoRaWanUpdateDeviceBuilder
source§fn clone(&self) -> LoRaWanUpdateDeviceBuilder
fn clone(&self) -> LoRaWanUpdateDeviceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LoRaWanUpdateDeviceBuilder
impl Debug for LoRaWanUpdateDeviceBuilder
source§impl Default for LoRaWanUpdateDeviceBuilder
impl Default for LoRaWanUpdateDeviceBuilder
source§fn default() -> LoRaWanUpdateDeviceBuilder
fn default() -> LoRaWanUpdateDeviceBuilder
impl StructuralPartialEq for LoRaWanUpdateDeviceBuilder
Auto Trait Implementations§
impl Freeze for LoRaWanUpdateDeviceBuilder
impl RefUnwindSafe for LoRaWanUpdateDeviceBuilder
impl Send for LoRaWanUpdateDeviceBuilder
impl Sync for LoRaWanUpdateDeviceBuilder
impl Unpin for LoRaWanUpdateDeviceBuilder
impl UnwindSafe for LoRaWanUpdateDeviceBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more