pub struct BridgeGPIOConfig {
    pub name: String,
    setup_time: Duration,
    polarity: Polarity,
}
Expand description

Internal representation of bridge GPIO config data from dbus.

Fields

name: String

The name of the GPIO line.

setup_time: Duration

How long to hold the line in its active state before sampling an associated sensor.

polarity: Polarity

The polarity of the GPIO line.

Implementations

Construct a BridgeGPIOConfig from a set of properties retrieved from dbus.

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.