#[repr(C)]pub struct mxr_firmware_version_t {
pub firmware_type: u8,
pub timestamp: u32,
pub hash: u32,
pub version: [c_char; 129],
}Expand description
One firmware component a device reports.
Fields§
§firmware_type: u8Which component this describes.
timestamp: u32Build timestamp, in seconds since the Unix epoch.
hash: u32Source revision hash.
version: [c_char; 129]Human-readable version string.
Trait Implementations§
Source§impl Clone for mxr_firmware_version_t
impl Clone for mxr_firmware_version_t
Source§fn clone(&self) -> mxr_firmware_version_t
fn clone(&self) -> mxr_firmware_version_t
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 moreimpl Copy for mxr_firmware_version_t
Auto Trait Implementations§
impl Freeze for mxr_firmware_version_t
impl RefUnwindSafe for mxr_firmware_version_t
impl Send for mxr_firmware_version_t
impl Sync for mxr_firmware_version_t
impl Unpin for mxr_firmware_version_t
impl UnsafeUnpin for mxr_firmware_version_t
impl UnwindSafe for mxr_firmware_version_t
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