pub struct GenerationRequest {
pub series_id: SeriesId,
pub occurrence_key: OccurrenceKey,
pub actor: String,
pub confirmed: bool,
}Expand description
The explicit, confirmed intent to generate one occurrence (T017).
Every field is required and none is inferred: the series, the exact key, who asked, and that they confirmed. A surface builds this from a due warning it showed the user; nothing constructs one on the user’s behalf.
Fields§
§series_id: SeriesIdThe series to generate for.
occurrence_key: OccurrenceKeyThe occurrence key to generate — the warning’s key, not a re-derived one.
actor: StringWho asked; lands in the occurrence’s History.
confirmed: boolWhether the caller confirmed the action. An unconfirmed request is inert.
Implementations§
Trait Implementations§
Source§impl Clone for GenerationRequest
impl Clone for GenerationRequest
Source§impl Debug for GenerationRequest
impl Debug for GenerationRequest
impl Eq for GenerationRequest
Source§impl PartialEq for GenerationRequest
impl PartialEq for GenerationRequest
impl StructuralPartialEq for GenerationRequest
Auto Trait Implementations§
impl Freeze for GenerationRequest
impl RefUnwindSafe for GenerationRequest
impl Send for GenerationRequest
impl Sync for GenerationRequest
impl Unpin for GenerationRequest
impl UnsafeUnpin for GenerationRequest
impl UnwindSafe for GenerationRequest
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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