#[non_exhaustive]pub struct GetFuotaTaskOutput {
pub arn: Option<String>,
pub id: Option<String>,
pub status: Option<FuotaTaskStatus>,
pub name: Option<String>,
pub description: Option<String>,
pub lo_ra_wan: Option<LoRaWanFuotaTaskGetInfo>,
pub firmware_update_image: Option<String>,
pub firmware_update_role: Option<String>,
pub created_at: Option<DateTime>,
pub redundancy_percent: Option<i32>,
pub fragment_size_bytes: Option<i32>,
pub fragment_interval_ms: Option<i32>,
/* private fields */
}
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.arn: Option<String>
The arn of a FUOTA task.
id: Option<String>
The ID of a FUOTA task.
status: Option<FuotaTaskStatus>
The status 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<LoRaWanFuotaTaskGetInfo>
The LoRaWAN information returned from getting 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.
created_at: Option<DateTime>
Created at timestamp for the resource.
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 GetFuotaTaskOutput
impl GetFuotaTaskOutput
sourcepub fn status(&self) -> Option<&FuotaTaskStatus>
pub fn status(&self) -> Option<&FuotaTaskStatus>
The status of a FUOTA task.
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<&LoRaWanFuotaTaskGetInfo>
pub fn lo_ra_wan(&self) -> Option<&LoRaWanFuotaTaskGetInfo>
The LoRaWAN information returned from getting 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 created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
Created at timestamp for the resource.
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 GetFuotaTaskOutput
impl GetFuotaTaskOutput
sourcepub fn builder() -> GetFuotaTaskOutputBuilder
pub fn builder() -> GetFuotaTaskOutputBuilder
Creates a new builder-style object to manufacture GetFuotaTaskOutput
.
Trait Implementations§
source§impl Clone for GetFuotaTaskOutput
impl Clone for GetFuotaTaskOutput
source§fn clone(&self) -> GetFuotaTaskOutput
fn clone(&self) -> GetFuotaTaskOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetFuotaTaskOutput
impl Debug for GetFuotaTaskOutput
source§impl PartialEq for GetFuotaTaskOutput
impl PartialEq for GetFuotaTaskOutput
source§fn eq(&self, other: &GetFuotaTaskOutput) -> bool
fn eq(&self, other: &GetFuotaTaskOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetFuotaTaskOutput
impl RequestId for GetFuotaTaskOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetFuotaTaskOutput
Auto Trait Implementations§
impl Freeze for GetFuotaTaskOutput
impl RefUnwindSafe for GetFuotaTaskOutput
impl Send for GetFuotaTaskOutput
impl Sync for GetFuotaTaskOutput
impl Unpin for GetFuotaTaskOutput
impl UnwindSafe for GetFuotaTaskOutput
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> 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