Struct FirmwareImage
#[non_exhaustive]pub struct FirmwareImage {
pub image_type: Option<FirmwareImageType>,
pub unique_id: Option<String>,
pub gobi_pri_version: Option<String>,
pub gobi_pri_info: Option<String>,
pub gobi_boot_version: Option<String>,
pub gobi_pri_unique_id: Option<String>,
pub gobi_modem_unique_id: Option<String>,
}Expand description
An installed firmware image.
The gobi_ fields only exist for images of the Gobi type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.image_type: Option<FirmwareImageType>The type of the image.
unique_id: Option<String>A unique ID for the image.
gobi_pri_version: Option<String>The version of the PRI image.
gobi_pri_info: Option<String>More information about the PRI image.
gobi_boot_version: Option<String>The boot version of the PRI image.
gobi_pri_unique_id: Option<String>The unique ID of the PRI image.
gobi_modem_unique_id: Option<String>The unique ID of the modem image.
Trait Implementations§
§impl Clone for FirmwareImage
impl Clone for FirmwareImage
§fn clone(&self) -> FirmwareImage
fn clone(&self) -> FirmwareImage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for FirmwareImage
impl Debug for FirmwareImage
§impl Default for FirmwareImage
impl Default for FirmwareImage
§fn default() -> FirmwareImage
fn default() -> FirmwareImage
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for FirmwareImage
impl<'de> Deserialize<'de> for FirmwareImage
§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
impl Eq for FirmwareImage
§impl From<FirmwareImage> for Value<'static>
impl From<FirmwareImage> for Value<'static>
§fn from(s: FirmwareImage) -> Self
fn from(s: FirmwareImage) -> Self
Converts to this type from the input type.
§impl PartialEq for FirmwareImage
impl PartialEq for FirmwareImage
§impl Serialize for FirmwareImage
impl Serialize for FirmwareImage
impl StructuralPartialEq for FirmwareImage
§impl TryFrom<FirmwareImage> for OwnedValue
impl TryFrom<FirmwareImage> for OwnedValue
§fn try_from(s: FirmwareImage) -> Result<Self>
fn try_from(s: FirmwareImage) -> Result<Self>
Performs the conversion.
§impl TryFrom<OwnedValue> for FirmwareImage
impl TryFrom<OwnedValue> for FirmwareImage
§impl TryFrom<Value<'static>> for FirmwareImage
impl TryFrom<Value<'static>> for FirmwareImage
§impl Type for FirmwareImage
impl Type for FirmwareImage
Auto Trait Implementations§
impl Freeze for FirmwareImage
impl RefUnwindSafe for FirmwareImage
impl Send for FirmwareImage
impl Sync for FirmwareImage
impl Unpin for FirmwareImage
impl UnsafeUnpin for FirmwareImage
impl UnwindSafe for FirmwareImage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.