pub struct GpioConfig {
pub gpios_in_use: Option<Vec<i32>>,
pub gpios_mode_output: Option<Vec<i32>>,
pub gpios_mode_input: Option<Vec<i32>>,
pub gpios_level_low: Option<Vec<i32>>,
pub gpios_level_high: Option<Vec<i32>>,
}
Fields§
§gpios_in_use: Option<Vec<i32>>
§gpios_mode_output: Option<Vec<i32>>
§gpios_mode_input: Option<Vec<i32>>
§gpios_level_low: Option<Vec<i32>>
§gpios_level_high: Option<Vec<i32>>
Trait Implementations§
Source§impl Debug for GpioConfig
impl Debug for GpioConfig
Source§impl<'de> Deserialize<'de> for GpioConfig
impl<'de> Deserialize<'de> for GpioConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GpioConfig
impl RefUnwindSafe for GpioConfig
impl Send for GpioConfig
impl Sync for GpioConfig
impl Unpin for GpioConfig
impl UnwindSafe for GpioConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more