pub struct TransitionResult {
pub instruction: String,
pub context: Option<Vec<Content>>,
pub prompt_on_enter: bool,
}Expand description
Result of a phase transition, carrying the resolved instruction and any context to inject.
Fields§
§instruction: StringThe resolved instruction for the new phase (with modifiers applied).
context: Option<Vec<Content>>Optional context content to inject via send_client_content.
prompt_on_enter: boolWhether to send turnComplete: true after instruction + context.
Auto Trait Implementations§
impl Freeze for TransitionResult
impl RefUnwindSafe for TransitionResult
impl Send for TransitionResult
impl Sync for TransitionResult
impl Unpin for TransitionResult
impl UnwindSafe for TransitionResult
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