pub struct ConfigHeader {
pub model: String,
pub version_bytes: [u8; 4],
pub raw: [u8; 256],
}Expand description
Parsed .d75 configuration file header (256 bytes).
The header contains the model identification string and metadata fields. The radio rejects files with unrecognised model strings.
Fields§
§model: StringModel identification string (e.g., "Data For TH-D75A").
Null-terminated, stored at offset 0x00 (up to 16 bytes).
version_bytes: [u8; 4]Version/checksum bytes at offset 0x14 (4 bytes).
Observed as 0x95C48F42 for the TH-D75A; exact semantics unknown.
raw: [u8; 256]Raw header bytes preserved for round-trip fidelity.
Always exactly 256 bytes. Fields above are parsed views into this buffer.
Trait Implementations§
Source§impl Clone for ConfigHeader
impl Clone for ConfigHeader
Source§fn clone(&self) -> ConfigHeader
fn clone(&self) -> ConfigHeader
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 ConfigHeader
impl Debug for ConfigHeader
Source§impl PartialEq for ConfigHeader
impl PartialEq for ConfigHeader
impl Eq for ConfigHeader
impl StructuralPartialEq for ConfigHeader
Auto Trait Implementations§
impl Freeze for ConfigHeader
impl RefUnwindSafe for ConfigHeader
impl Send for ConfigHeader
impl Sync for ConfigHeader
impl Unpin for ConfigHeader
impl UnwindSafe for ConfigHeader
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