pub struct GuardedMessageEvent {
pub is_start: bool,
}
Expand description
Application-defined code start or stop
Fields§
§is_start: bool
true
when activity begins, false
when it stops
Trait Implementations§
Source§impl Clone for GuardedMessageEvent
impl Clone for GuardedMessageEvent
Source§fn clone(&self) -> GuardedMessageEvent
fn clone(&self) -> GuardedMessageEvent
Returns a copy 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 GuardedMessageEvent
impl Debug for GuardedMessageEvent
Source§impl<'de> Deserialize<'de> for GuardedMessageEvent
impl<'de> Deserialize<'de> for GuardedMessageEvent
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
Source§impl From<GuardedMessageEvent> for TimelyEvent
impl From<GuardedMessageEvent> for TimelyEvent
Source§fn from(v: GuardedMessageEvent) -> TimelyEvent
fn from(v: GuardedMessageEvent) -> TimelyEvent
Converts to this type from the input type.
Source§impl Hash for GuardedMessageEvent
impl Hash for GuardedMessageEvent
Source§impl Ord for GuardedMessageEvent
impl Ord for GuardedMessageEvent
Source§fn cmp(&self, other: &GuardedMessageEvent) -> Ordering
fn cmp(&self, other: &GuardedMessageEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GuardedMessageEvent
impl PartialEq for GuardedMessageEvent
Source§impl PartialOrd for GuardedMessageEvent
impl PartialOrd for GuardedMessageEvent
Source§impl Serialize for GuardedMessageEvent
impl Serialize for GuardedMessageEvent
impl Eq for GuardedMessageEvent
impl StructuralPartialEq for GuardedMessageEvent
Auto Trait Implementations§
impl Freeze for GuardedMessageEvent
impl RefUnwindSafe for GuardedMessageEvent
impl Send for GuardedMessageEvent
impl Sync for GuardedMessageEvent
impl Unpin for GuardedMessageEvent
impl UnwindSafe for GuardedMessageEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)