Struct rustot::ota::encoding::json::FileDescription [−][src]
pub struct FileDescription {
pub filepath: String<64>,
pub filesize: usize,
pub fileid: u8,
pub certfile: String<64>,
pub update_data_url: Option<String<64>>,
pub auth_scheme: Option<String<64>>,
pub sha1_rsa: Option<String<64>>,
pub sha256_rsa: Option<String<64>>,
pub sha1_ecdsa: Option<String<64>>,
pub sha256_ecdsa: Option<String<64>>,
pub file_type: Option<u32>,
}
Fields
filepath: String<64>
filesize: usize
fileid: u8
certfile: String<64>
update_data_url: Option<String<64>>
auth_scheme: Option<String<64>>
sha1_rsa: Option<String<64>>
sha256_rsa: Option<String<64>>
sha1_ecdsa: Option<String<64>>
sha256_ecdsa: Option<String<64>>
file_type: Option<u32>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.