pub enum FileId {
Type(Field<File>),
Manufacturer(Field<Manufacturer>),
Product(Field<Uint16>),
SerialNumber(Field<Uint32z>),
TimeCreated(Field<DateTime>),
Number(Field<Uint16>),
ProductName(Field<Utf8String>),
Unknown {
data: Vec<u8>,
field_def_num: u8,
},
}
Expand description
Must be first message in file.
Variants
Type(Field<File>)
Manufacturer(Field<Manufacturer>)
Product(Field<Uint16>)
SerialNumber(Field<Uint32z>)
TimeCreated(Field<DateTime>)
Only set for files that are can be created/erased.
Number(Field<Uint16>)
Only set for files that are not created/erased.
ProductName(Field<Utf8String>)
Optional free form string to indicate the devices name or model
Unknown
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileId
impl Send for FileId
impl Sync for FileId
impl Unpin for FileId
impl UnwindSafe for FileId
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more