[][src]Struct xio_hwdb::Capability

pub struct Capability {
    pub builtin: bool,
    pub module: String,
    pub id: u16,
}

A capability implemented in a XIO device.

Fields

builtin: bool

Flag indicating if the capability is built into the device.

module: String

String identifier of the module type.

The module must be present in the modules collection that can be loaded through the filesystem::HardwareDatabase.

id: u16

The index number of the capability within the XIO device.

Trait Implementations

impl Clone for Capability[src]

impl PartialEq<Capability> for Capability[src]

impl Debug for Capability[src]

impl<'de> Deserialize<'de> for Capability[src]

impl Serialize for Capability[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> PathLoad for T where
    T: DeserializeOwned
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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