pub struct BackgroundSpawn {
pub id: String,
pub session_id: String,
pub mission: String,
pub started_at: String,
}Expand description
A queued notification awaiting delivery to the user.
Notifications are queued in SQLite when the originating channel is unavailable. Retention depends on priority: status updates expire after 24 hours, critical notifications persist indefinitely until delivered. A background sub-agent still running, recorded so a restart can say it was lost and a cancel can find it.
Fields§
§id: String§session_id: String§mission: String§started_at: StringTrait Implementations§
Source§impl Clone for BackgroundSpawn
impl Clone for BackgroundSpawn
Source§impl Debug for BackgroundSpawn
impl Debug for BackgroundSpawn
Source§impl PartialEq for BackgroundSpawn
impl PartialEq for BackgroundSpawn
impl StructuralPartialEq for BackgroundSpawn
Auto Trait Implementations§
impl Forget for BackgroundSpawn
impl Freeze for BackgroundSpawn
impl Move for BackgroundSpawn
impl RefUnwindSafe for BackgroundSpawn
impl Send for BackgroundSpawn
impl Sync for BackgroundSpawn
impl Unpin for BackgroundSpawn
impl UnsafeUnpin for BackgroundSpawn
impl UnwindSafe for BackgroundSpawn
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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