pub struct PinConfig {
pub num: u64,
pub direction: Direction,
pub names: BTreeSet<String>,
pub export: bool,
pub active_low: bool,
pub user: Option<String>,
pub group: Option<String>,
pub mode: Option<u32>,
}
Fields§
§num: u64
§direction: Direction
§names: BTreeSet<String>
§export: bool
§active_low: bool
§user: Option<String>
§group: Option<String>
§mode: Option<u32>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PinConfig
impl<'de> Deserialize<'de> for PinConfig
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
impl StructuralPartialEq for PinConfig
Auto Trait Implementations§
impl Freeze for PinConfig
impl RefUnwindSafe for PinConfig
impl Send for PinConfig
impl Sync for PinConfig
impl Unpin for PinConfig
impl UnwindSafe for PinConfig
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