pub struct ContextParts<'a> {Show 32 fields
pub session: Option<&'a mut dyn CommandSessionContext>,
pub model: Option<&'a mut dyn CommandModelContext>,
pub cost: Option<&'a mut dyn CommandCostContext>,
pub mode_policy: Option<&'a mut dyn CommandModePolicyContext>,
pub system_prompt: Option<&'a mut dyn CommandSystemPromptContext>,
pub skills: Option<&'a mut dyn CommandSkillsContext>,
pub workspace: Option<&'a mut dyn CommandWorkspaceContext>,
pub presentation: Option<&'a mut dyn CommandPresentationContext>,
pub media: Option<&'a mut dyn CommandMediaContext>,
pub memory: Option<&'a mut dyn CommandMemoryContext>,
pub project: Option<&'a mut dyn CommandProjectContext>,
pub skill_group: Option<&'a mut dyn CommandSkillGroupContext>,
pub plugin: Option<&'a mut dyn CommandPluginContext>,
pub lifecycle: Option<&'a mut dyn CommandSessionLifecycleContext>,
pub control: Option<&'a mut dyn CommandSessionControlContext>,
pub export: Option<&'a mut dyn CommandSessionExportContext>,
pub structcopy: Option<&'a mut dyn CommandSessionStructcopyContext>,
pub debug_receipts: Option<&'a mut dyn CommandDebugReceiptsContext>,
pub debug_change: Option<&'a mut dyn CommandDebugChangeContext>,
pub debug_history: Option<&'a mut dyn CommandDebugHistoryContext>,
pub debug_diff: Option<&'a mut dyn CommandDebugDiffContext>,
pub debug_undo: Option<&'a mut dyn CommandDebugUndoContext>,
pub debug_diagnostics: Option<&'a mut dyn CommandDebugDiagnosticsContext>,
pub permissions: Option<&'a mut dyn CommandPermissionsContext>,
pub config_status: Option<&'a mut dyn CommandConfigStatusContext>,
pub config: Option<&'a mut dyn CommandConfigContext>,
pub pet: Option<&'a mut dyn CommandPetContext>,
pub trust: Option<&'a mut dyn CommandTrustContext>,
pub login: Option<&'a mut dyn CommandLoginContext>,
pub work_surface: Option<&'a mut dyn CommandWorkSurfaceContext>,
pub navigation: Option<&'a mut dyn CommandNavigationContext>,
pub voice_input: Option<&'a mut dyn CommandVoiceInputContext>,
}Expand description
Consumed envelope used when one handler needs several independent facets.
Fields§
§session: Option<&'a mut dyn CommandSessionContext>§model: Option<&'a mut dyn CommandModelContext>§cost: Option<&'a mut dyn CommandCostContext>§mode_policy: Option<&'a mut dyn CommandModePolicyContext>§system_prompt: Option<&'a mut dyn CommandSystemPromptContext>§skills: Option<&'a mut dyn CommandSkillsContext>§workspace: Option<&'a mut dyn CommandWorkspaceContext>§presentation: Option<&'a mut dyn CommandPresentationContext>§media: Option<&'a mut dyn CommandMediaContext>§memory: Option<&'a mut dyn CommandMemoryContext>§project: Option<&'a mut dyn CommandProjectContext>§skill_group: Option<&'a mut dyn CommandSkillGroupContext>§plugin: Option<&'a mut dyn CommandPluginContext>§lifecycle: Option<&'a mut dyn CommandSessionLifecycleContext>§control: Option<&'a mut dyn CommandSessionControlContext>§export: Option<&'a mut dyn CommandSessionExportContext>§structcopy: Option<&'a mut dyn CommandSessionStructcopyContext>§debug_receipts: Option<&'a mut dyn CommandDebugReceiptsContext>§debug_change: Option<&'a mut dyn CommandDebugChangeContext>§debug_history: Option<&'a mut dyn CommandDebugHistoryContext>§debug_diff: Option<&'a mut dyn CommandDebugDiffContext>§debug_undo: Option<&'a mut dyn CommandDebugUndoContext>§debug_diagnostics: Option<&'a mut dyn CommandDebugDiagnosticsContext>§permissions: Option<&'a mut dyn CommandPermissionsContext>§config_status: Option<&'a mut dyn CommandConfigStatusContext>§config: Option<&'a mut dyn CommandConfigContext>§pet: Option<&'a mut dyn CommandPetContext>§trust: Option<&'a mut dyn CommandTrustContext>§login: Option<&'a mut dyn CommandLoginContext>§work_surface: Option<&'a mut dyn CommandWorkSurfaceContext>§voice_input: Option<&'a mut dyn CommandVoiceInputContext>Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ContextParts<'a>
impl<'a> !Send for ContextParts<'a>
impl<'a> !Sync for ContextParts<'a>
impl<'a> !UnwindSafe for ContextParts<'a>
impl<'a> Forget for ContextParts<'a>
impl<'a> Freeze for ContextParts<'a>
impl<'a> Move for ContextParts<'a>
impl<'a> Unpin for ContextParts<'a>
impl<'a> UnsafeUnpin for ContextParts<'a>
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