pub struct WatchdogTimerUpdate {
pub function_enabled: Option<Boolean>,
pub warning_action: Option<WatchdogWarningActions>,
pub timeout_action: Option<WatchdogTimeoutActions>,
pub oem: Option<OemUpdate>,
}Expand description
Update struct corresponding to WatchdogTimer
Fields§
§function_enabled: Option<Boolean>§warning_action: Option<WatchdogWarningActions>§timeout_action: Option<WatchdogTimeoutActions>§oem: Option<OemUpdate>Implementations§
Source§impl WatchdogTimerUpdate
impl WatchdogTimerUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_function_enabled(self, v: Boolean) -> Self
pub fn with_warning_action(self, v: WatchdogWarningActions) -> Self
pub fn with_timeout_action(self, v: WatchdogTimeoutActions) -> Self
pub fn with_oem(self, v: OemUpdate) -> Self
Trait Implementations§
Source§impl Debug for WatchdogTimerUpdate
impl Debug for WatchdogTimerUpdate
Source§impl Default for WatchdogTimerUpdate
impl Default for WatchdogTimerUpdate
Source§fn default() -> WatchdogTimerUpdate
fn default() -> WatchdogTimerUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WatchdogTimerUpdate
impl RefUnwindSafe for WatchdogTimerUpdate
impl Send for WatchdogTimerUpdate
impl Sync for WatchdogTimerUpdate
impl Unpin for WatchdogTimerUpdate
impl UnsafeUnpin for WatchdogTimerUpdate
impl UnwindSafe for WatchdogTimerUpdate
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