pub struct StartStopMsg {
pub id: u64,
pub running: bool,
}Expand description
Message to start or stop the timer.
Fields§
§id: u64The timer ID.
running: boolWhether to start (true) or stop (false).
Trait Implementations§
Source§impl Clone for StartStopMsg
impl Clone for StartStopMsg
Source§fn clone(&self) -> StartStopMsg
fn clone(&self) -> StartStopMsg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StartStopMsg
impl Debug for StartStopMsg
impl Copy for StartStopMsg
Auto Trait Implementations§
impl Freeze for StartStopMsg
impl RefUnwindSafe for StartStopMsg
impl Send for StartStopMsg
impl Sync for StartStopMsg
impl Unpin for StartStopMsg
impl UnwindSafe for StartStopMsg
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