pub struct FileLocation {
pub s_3_location: Option<S3Location>,
pub stream: Option<Stream>,
}Expand description
The location of the OTA update.
Fields§
§s_3_location: Option<S3Location>The location of the updated firmware in S3.
stream: Option<Stream>The stream that contains the OTA update.
Trait Implementations§
Source§impl Clone for FileLocation
impl Clone for FileLocation
Source§fn clone(&self) -> FileLocation
fn clone(&self) -> FileLocation
Returns a duplicate 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 FileLocation
impl Debug for FileLocation
Source§impl Default for FileLocation
impl Default for FileLocation
Source§fn default() -> FileLocation
fn default() -> FileLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FileLocation
impl<'de> Deserialize<'de> for FileLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FileLocation
impl PartialEq for FileLocation
Source§impl Serialize for FileLocation
impl Serialize for FileLocation
impl StructuralPartialEq for FileLocation
Auto Trait Implementations§
impl Freeze for FileLocation
impl RefUnwindSafe for FileLocation
impl Send for FileLocation
impl Sync for FileLocation
impl Unpin for FileLocation
impl UnwindSafe for FileLocation
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