Struct aws_sdk_iot::model::OtaUpdateFile
source · #[non_exhaustive]pub struct OtaUpdateFile { /* private fields */ }
Expand description
Describes a file to be associated with an OTA update.
Implementations§
source§impl OtaUpdateFile
impl OtaUpdateFile
sourcepub fn file_type(&self) -> Option<i32>
pub fn file_type(&self) -> Option<i32>
An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.
sourcepub fn file_version(&self) -> Option<&str>
pub fn file_version(&self) -> Option<&str>
The file version.
sourcepub fn file_location(&self) -> Option<&FileLocation>
pub fn file_location(&self) -> Option<&FileLocation>
The location of the updated firmware.
sourcepub fn code_signing(&self) -> Option<&CodeSigning>
pub fn code_signing(&self) -> Option<&CodeSigning>
The code signing method of the file.
source§impl OtaUpdateFile
impl OtaUpdateFile
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture OtaUpdateFile
.
Trait Implementations§
source§impl Clone for OtaUpdateFile
impl Clone for OtaUpdateFile
source§fn clone(&self) -> OtaUpdateFile
fn clone(&self) -> OtaUpdateFile
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 OtaUpdateFile
impl Debug for OtaUpdateFile
source§impl PartialEq<OtaUpdateFile> for OtaUpdateFile
impl PartialEq<OtaUpdateFile> for OtaUpdateFile
source§fn eq(&self, other: &OtaUpdateFile) -> bool
fn eq(&self, other: &OtaUpdateFile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.