Struct libptp::PropInfo[][src]

pub struct PropInfo {
    pub property_code: u16,
    pub data_type: u16,
    pub get_set: u8,
    pub factory_default: DataType,
    pub current: DataType,
    pub form: FormData,
}

Fields

property_code: u16

A specific property_code.

data_type: u16

This field identifies the Datatype Code of the property.

get_set: u8

This field indicates whether the property is read-only or read-write.

factory_default: DataTypecurrent: DataTypeform: FormData

Implementations

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

Performs the conversion.

Performs the conversion.

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.