pub struct ScheduleSweepResult {
pub published: usize,
pub expired: usize,
pub changed_urls: Vec<String>,
pub went_live: Vec<Page>,
pub taken_down: Vec<i64>,
}Expand description
Outcome of one run_schedule_sweep tick.
Fields§
§published: usize§expired: usizePages taken down this tick (published → expired at
expire_at). Named expired since archiving is now a manual,
content-preserving action, distinct from expiry-as-takedown.
changed_urls: Vec<String>url_paths of every page whose public visibility flipped
this tick (published or expired). The caller purges these from
the frontend cache (see run_schedule_sweep_and_purge).
went_live: Vec<Page>The pages that went live this tick, as read before the flip.
taken_down: Vec<i64>Ids of the pages taken down this tick.
Trait Implementations§
Source§impl Clone for ScheduleSweepResult
impl Clone for ScheduleSweepResult
Source§impl Debug for ScheduleSweepResult
impl Debug for ScheduleSweepResult
Auto Trait Implementations§
impl Forget for ScheduleSweepResult
impl Freeze for ScheduleSweepResult
impl RefUnwindSafe for ScheduleSweepResult
impl Send for ScheduleSweepResult
impl Sync for ScheduleSweepResult
impl Unpin for ScheduleSweepResult
impl UnsafeUnpin for ScheduleSweepResult
impl UnwindSafe for ScheduleSweepResult
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 moreCreates a shared type from an unshared type.