pub struct GenerationReport { /* private fields */ }Expand description
What one confirmed generation pass did (T022).
Carries the request’s audit context (who confirmed it, and the as-of date they
supplied), one GenerationOutcome per requested key in request order, and the
schedule’s cursor after the pass — the next-generation context a surface shows
without re-deriving it.
Implementations§
Source§impl GenerationReport
impl GenerationReport
Sourcepub fn schedule_id(&self) -> &CycleScheduleId
pub fn schedule_id(&self) -> &CycleScheduleId
The schedule the pass was for.
Sourcepub fn outcomes(&self) -> &[GenerationOutcome]
pub fn outcomes(&self) -> &[GenerationOutcome]
One outcome per requested key, in request order.
Sourcepub fn is_refused(&self) -> bool
pub fn is_refused(&self) -> bool
Whether every outcome is a refusal.
Sourcepub fn cursor(&self) -> Option<&GenerationCursor>
pub fn cursor(&self) -> Option<&GenerationCursor>
The schedule’s cursor after the pass; absent only when the schedule is unknown.
Sourcepub fn created(&self) -> impl Iterator<Item = &GenerationOutcome>
pub fn created(&self) -> impl Iterator<Item = &GenerationOutcome>
The created outcomes.
Sourcepub fn no_ops(&self) -> impl Iterator<Item = &GenerationOutcome>
pub fn no_ops(&self) -> impl Iterator<Item = &GenerationOutcome>
The no-op outcomes.
Sourcepub fn rejected(&self) -> impl Iterator<Item = &GenerationOutcome>
pub fn rejected(&self) -> impl Iterator<Item = &GenerationOutcome>
The rejected outcomes.
Trait Implementations§
Source§impl Clone for GenerationReport
impl Clone for GenerationReport
Source§impl Debug for GenerationReport
impl Debug for GenerationReport
Source§impl PartialEq for GenerationReport
impl PartialEq for GenerationReport
impl StructuralPartialEq for GenerationReport
Auto Trait Implementations§
impl Freeze for GenerationReport
impl RefUnwindSafe for GenerationReport
impl Send for GenerationReport
impl Sync for GenerationReport
impl Unpin for GenerationReport
impl UnsafeUnpin for GenerationReport
impl UnwindSafe for GenerationReport
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> 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