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

Fields

data: Vec<u8>
field_def_num: u8

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.