#[non_exhaustive]pub struct UpdateFuotaTaskInput {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub lo_ra_wan: Option<LoRaWanFuotaTask>,
pub firmware_update_image: Option<String>,
pub firmware_update_role: Option<String>,
pub redundancy_percent: Option<i32>,
pub fragment_size_bytes: Option<i32>,
pub fragment_interval_ms: Option<i32>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<String>The ID of a FUOTA task.
name: Option<String>The name of a FUOTA task.
description: Option<String>The description of the new resource.
lo_ra_wan: Option<LoRaWanFuotaTask>The LoRaWAN information used with a FUOTA task.
firmware_update_image: Option<String>The S3 URI points to a firmware update image that is to be used with a FUOTA task.
firmware_update_role: Option<String>The firmware update role that is to be used with a FUOTA task.
redundancy_percent: Option<i32>The percentage of the added fragments that are redundant. For example, if the size of the firmware image file is 100 bytes and the fragment size is 10 bytes, with RedundancyPercent set to 50(%), the final number of encoded fragments is (100 / 10) + (100 / 10 * 50%) = 15.
fragment_size_bytes: Option<i32>The size of each fragment in bytes. This parameter is supported only for FUOTA tasks with multicast groups.
fragment_interval_ms: Option<i32>The interval for sending fragments in milliseconds, rounded to the nearest second.
This interval only determines the timing for when the Cloud sends down the fragments to yor device. There can be a delay for when your device will receive these fragments. This delay depends on the device's class and the communication delay with the cloud.
Implementations§
source§impl UpdateFuotaTaskInput
impl UpdateFuotaTaskInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the new resource.
sourcepub fn lo_ra_wan(&self) -> Option<&LoRaWanFuotaTask>
pub fn lo_ra_wan(&self) -> Option<&LoRaWanFuotaTask>
The LoRaWAN information used with a FUOTA task.
sourcepub fn firmware_update_image(&self) -> Option<&str>
pub fn firmware_update_image(&self) -> Option<&str>
The S3 URI points to a firmware update image that is to be used with a FUOTA task.
sourcepub fn firmware_update_role(&self) -> Option<&str>
pub fn firmware_update_role(&self) -> Option<&str>
The firmware update role that is to be used with a FUOTA task.
sourcepub fn redundancy_percent(&self) -> Option<i32>
pub fn redundancy_percent(&self) -> Option<i32>
The percentage of the added fragments that are redundant. For example, if the size of the firmware image file is 100 bytes and the fragment size is 10 bytes, with RedundancyPercent set to 50(%), the final number of encoded fragments is (100 / 10) + (100 / 10 * 50%) = 15.
sourcepub fn fragment_size_bytes(&self) -> Option<i32>
pub fn fragment_size_bytes(&self) -> Option<i32>
The size of each fragment in bytes. This parameter is supported only for FUOTA tasks with multicast groups.
sourcepub fn fragment_interval_ms(&self) -> Option<i32>
pub fn fragment_interval_ms(&self) -> Option<i32>
The interval for sending fragments in milliseconds, rounded to the nearest second.
This interval only determines the timing for when the Cloud sends down the fragments to yor device. There can be a delay for when your device will receive these fragments. This delay depends on the device's class and the communication delay with the cloud.
source§impl UpdateFuotaTaskInput
impl UpdateFuotaTaskInput
sourcepub fn builder() -> UpdateFuotaTaskInputBuilder
pub fn builder() -> UpdateFuotaTaskInputBuilder
Creates a new builder-style object to manufacture UpdateFuotaTaskInput.
Trait Implementations§
source§impl Clone for UpdateFuotaTaskInput
impl Clone for UpdateFuotaTaskInput
source§fn clone(&self) -> UpdateFuotaTaskInput
fn clone(&self) -> UpdateFuotaTaskInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateFuotaTaskInput
impl Debug for UpdateFuotaTaskInput
source§impl PartialEq for UpdateFuotaTaskInput
impl PartialEq for UpdateFuotaTaskInput
source§fn eq(&self, other: &UpdateFuotaTaskInput) -> bool
fn eq(&self, other: &UpdateFuotaTaskInput) -> bool
self and other values to be equal, and is used
by ==.