pub struct Firmware {Show 15 fields
pub id: u64,
pub file_name: String,
pub file_name_no_tags: String,
pub file_name_no_ext: String,
pub file_extension: String,
pub file_path: String,
pub file_size_bytes: u64,
pub full_path: String,
pub is_verified: bool,
pub crc_hash: String,
pub md5_hash: String,
pub sha1_hash: String,
pub missing_from_fs: bool,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: u64§file_name: String§file_name_no_ext: String§file_extension: String§file_path: String§file_size_bytes: u64§full_path: String§is_verified: bool§crc_hash: String§md5_hash: String§sha1_hash: String§missing_from_fs: bool§created_at: String§updated_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Firmware
impl<'de> Deserialize<'de> for Firmware
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
Auto Trait Implementations§
impl Freeze for Firmware
impl RefUnwindSafe for Firmware
impl Send for Firmware
impl Sync for Firmware
impl Unpin for Firmware
impl UnsafeUnpin for Firmware
impl UnwindSafe for Firmware
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more