Struct d1_config::LedBlinkService
source · pub struct LedBlinkService {
pub enabled: bool,
pub blink_pin: LedBlinkPin,
pub blink_interval: Duration,
}
Fields§
§enabled: bool
§blink_pin: LedBlinkPin
§blink_interval: Duration
Implementations§
source§impl LedBlinkService
impl LedBlinkService
pub(crate) const fn default_led_pin() -> LedBlinkPin
pub(crate) const fn default_blink_interval() -> Duration
Trait Implementations§
source§impl Debug for LedBlinkService
impl Debug for LedBlinkService
source§impl<'de> Deserialize<'de> for LedBlinkService
impl<'de> Deserialize<'de> for LedBlinkService
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 LedBlinkService
impl RefUnwindSafe for LedBlinkService
impl Send for LedBlinkService
impl Sync for LedBlinkService
impl Unpin for LedBlinkService
impl UnwindSafe for LedBlinkService
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