[][src]Struct libptp::DeviceInfo

pub struct DeviceInfo {
    pub Version: u16,
    pub VendorExID: u32,
    pub VendorExVersion: u16,
    pub VendorExtensionDesc: String,
    pub FunctionalMode: u16,
    pub OperationsSupported: Vec<u16>,
    pub EventsSupported: Vec<u16>,
    pub DevicePropertiesSupported: Vec<u16>,
    pub CaptureFormats: Vec<u16>,
    pub ImageFormats: Vec<u16>,
    pub Manufacturer: String,
    pub Model: String,
    pub DeviceVersion: String,
    pub SerialNumber: String,
}

Fields

Version: u16VendorExID: u32VendorExVersion: u16VendorExtensionDesc: StringFunctionalMode: u16OperationsSupported: Vec<u16>EventsSupported: Vec<u16>DevicePropertiesSupported: Vec<u16>CaptureFormats: Vec<u16>ImageFormats: Vec<u16>Manufacturer: StringModel: StringDeviceVersion: StringSerialNumber: String

Methods

impl DeviceInfo[src]

Trait Implementations

impl Debug for DeviceInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]