pub struct VersionConfig {
pub id: u32,
pub name: String,
pub identifier: String,
pub urls: Vec<String>,
pub metadata: Value,
}
Expand description
VersionConfig
definition
Fields§
§id: u32
Database identifier of the version to install.
name: String
Name of the version.
identifier: String
String identifier of the version.
urls: Vec<String>
URLs where the firmware files included in this update can be downloaded.
metadata: Value
Metadata providing additionnal information about the firmware file.
Trait Implementations§
Source§impl Clone for VersionConfig
impl Clone for VersionConfig
Source§fn clone(&self) -> VersionConfig
fn clone(&self) -> VersionConfig
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 VersionConfig
impl Debug for VersionConfig
Source§impl<'de> Deserialize<'de> for VersionConfig
impl<'de> Deserialize<'de> for VersionConfig
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 Hash for VersionConfig
impl Hash for VersionConfig
Source§impl PartialEq for VersionConfig
impl PartialEq for VersionConfig
Source§impl Serialize for VersionConfig
impl Serialize for VersionConfig
impl Eq for VersionConfig
impl StructuralPartialEq for VersionConfig
Auto Trait Implementations§
impl Freeze for VersionConfig
impl RefUnwindSafe for VersionConfig
impl Send for VersionConfig
impl Sync for VersionConfig
impl Unpin for VersionConfig
impl UnwindSafe for VersionConfig
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