pub struct DevInfoResp {
pub text: String,
}Expand description
Device info response (75-76 bytes). Type 0xE7.
Binary header followed by three 16-byte null-terminated text slots. AVR/PI (75B): header = [1..26], slots at 27/43/59. DSP (76B): header = [1..27], slots at 28/44/60. Slot contents vary by bus: DSP: version, serial, firmware tag AVR: version + model, build date, build time PI: firmware rev, build date, build time
Fields§
§text: StringConcatenation of all non-empty text slots, separated by spaces.
Implementations§
Trait Implementations§
Source§impl Clone for DevInfoResp
impl Clone for DevInfoResp
Source§fn clone(&self) -> DevInfoResp
fn clone(&self) -> DevInfoResp
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 moreAuto Trait Implementations§
impl Freeze for DevInfoResp
impl RefUnwindSafe for DevInfoResp
impl Send for DevInfoResp
impl Sync for DevInfoResp
impl Unpin for DevInfoResp
impl UnsafeUnpin for DevInfoResp
impl UnwindSafe for DevInfoResp
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