pub struct PreparedTurnStart {
pub state: TurnState,
pub events: Vec<EventData>,
pub rejection: Option<HookRejection>,
}Expand description
Canonical effects of opening a turn, before any model work is scheduled.
Fields§
§state: TurnStateNew pure turn state.
events: Vec<EventData>turn.started, the final (possibly rewritten) input, and hook effects.
rejection: Option<HookRejection>Why a prompt hook rejected the turn, if it did.
Auto Trait Implementations§
impl Freeze for PreparedTurnStart
impl RefUnwindSafe for PreparedTurnStart
impl Send for PreparedTurnStart
impl Sync for PreparedTurnStart
impl Unpin for PreparedTurnStart
impl UnsafeUnpin for PreparedTurnStart
impl UnwindSafe for PreparedTurnStart
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