Struct aws_sdk_iot::types::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() -> OtaUpdateFileBuilder
pub fn builder() -> OtaUpdateFileBuilder
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 ==
.impl StructuralPartialEq for OtaUpdateFile
Auto Trait Implementations§
impl RefUnwindSafe for OtaUpdateFile
impl Send for OtaUpdateFile
impl Sync for OtaUpdateFile
impl Unpin for OtaUpdateFile
impl UnwindSafe for OtaUpdateFile
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