pub struct GuardedProgressEvent {
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 GuardedProgressEvent
impl Clone for GuardedProgressEvent
Source§fn clone(&self) -> GuardedProgressEvent
fn clone(&self) -> GuardedProgressEvent
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 GuardedProgressEvent
impl Debug for GuardedProgressEvent
Source§impl<'de> Deserialize<'de> for GuardedProgressEvent
impl<'de> Deserialize<'de> for GuardedProgressEvent
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<GuardedProgressEvent> for TimelyEvent
impl From<GuardedProgressEvent> for TimelyEvent
Source§fn from(v: GuardedProgressEvent) -> TimelyEvent
fn from(v: GuardedProgressEvent) -> TimelyEvent
Converts to this type from the input type.
Source§impl Hash for GuardedProgressEvent
impl Hash for GuardedProgressEvent
Source§impl Ord for GuardedProgressEvent
impl Ord for GuardedProgressEvent
Source§fn cmp(&self, other: &GuardedProgressEvent) -> Ordering
fn cmp(&self, other: &GuardedProgressEvent) -> 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 GuardedProgressEvent
impl PartialEq for GuardedProgressEvent
Source§impl PartialOrd for GuardedProgressEvent
impl PartialOrd for GuardedProgressEvent
Source§impl Serialize for GuardedProgressEvent
impl Serialize for GuardedProgressEvent
impl Eq for GuardedProgressEvent
impl StructuralPartialEq for GuardedProgressEvent
Auto Trait Implementations§
impl Freeze for GuardedProgressEvent
impl RefUnwindSafe for GuardedProgressEvent
impl Send for GuardedProgressEvent
impl Sync for GuardedProgressEvent
impl Unpin for GuardedProgressEvent
impl UnwindSafe for GuardedProgressEvent
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
)