struct BatchNotifyState {
active: bool,
notify_scheduled: bool,
current_batch_id: u64,
last_notified_batch_id: u64,
start_processed: usize,
start_failed: usize,
}Fields§
§active: boolActive status indicating whether a batch notifications window is open.
notify_scheduled: boolTrue if a notification summary sweep is already planned.
current_batch_id: u64Unique identifier of the current batch.
last_notified_batch_id: u64Last unique identifier that triggered desktop notification.
start_processed: usizeProcessed count recorded at beginning of batch.
start_failed: usizeFailed count recorded at beginning of batch.
Trait Implementations§
Source§impl Debug for BatchNotifyState
impl Debug for BatchNotifyState
Source§impl Default for BatchNotifyState
impl Default for BatchNotifyState
Source§fn default() -> BatchNotifyState
fn default() -> BatchNotifyState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BatchNotifyState
impl RefUnwindSafe for BatchNotifyState
impl Send for BatchNotifyState
impl Sync for BatchNotifyState
impl Unpin for BatchNotifyState
impl UnsafeUnpin for BatchNotifyState
impl UnwindSafe for BatchNotifyState
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
§impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.