pub struct Esp32Config {
pub gpio: HashMap<String, GpioPinConfig>,
pub spi: HashMap<String, SpiConfig>,
pub i2c: HashMap<String, I2cConfig>,
pub uart: HashMap<String, UartConfig>,
}Fields§
§gpio: HashMap<String, GpioPinConfig>§spi: HashMap<String, SpiConfig>§i2c: HashMap<String, I2cConfig>§uart: HashMap<String, UartConfig>Trait Implementations§
Source§impl Debug for Esp32Config
impl Debug for Esp32Config
Source§impl Default for Esp32Config
impl Default for Esp32Config
Source§fn default() -> Esp32Config
fn default() -> Esp32Config
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Esp32Config
impl<'de> Deserialize<'de> for Esp32Config
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Esp32Config, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Esp32Config, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Esp32Config
impl Serialize for Esp32Config
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Esp32Config
impl RefUnwindSafe for Esp32Config
impl Send for Esp32Config
impl Sync for Esp32Config
impl Unpin for Esp32Config
impl UnwindSafe for Esp32Config
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