pub struct CommandContexts<'a> { /* private fields */ }Expand description
Transport envelope with one independently optional facet slot.
Implementations§
Source§impl<'a> CommandContexts<'a>
impl<'a> CommandContexts<'a>
pub fn empty() -> Self
pub fn into_parts(self) -> ContextParts<'a>
pub fn with_config(self, value: &'a mut dyn CommandConfigContext) -> Self
pub fn with_pet(self, value: &'a mut dyn CommandPetContext) -> Self
pub fn with_trust(self, value: &'a mut dyn CommandTrustContext) -> Self
pub fn with_login(self, value: &'a mut dyn CommandLoginContext) -> Self
pub fn with_work_surface( self, value: &'a mut dyn CommandWorkSurfaceContext, ) -> Self
pub fn with_voice_input( self, value: &'a mut dyn CommandVoiceInputContext, ) -> Self
pub fn with_permissions( self, value: &'a mut dyn CommandPermissionsContext, ) -> Self
pub fn with_config_status( self, value: &'a mut dyn CommandConfigStatusContext, ) -> Self
pub fn with_session(self, value: &'a mut dyn CommandSessionContext) -> Self
pub fn with_model(self, value: &'a mut dyn CommandModelContext) -> Self
pub fn with_cost(self, value: &'a mut dyn CommandCostContext) -> Self
pub fn with_mode_policy( self, value: &'a mut dyn CommandModePolicyContext, ) -> Self
pub fn with_system_prompt( self, value: &'a mut dyn CommandSystemPromptContext, ) -> Self
pub fn with_skills(self, value: &'a mut dyn CommandSkillsContext) -> Self
pub fn with_workspace(self, value: &'a mut dyn CommandWorkspaceContext) -> Self
pub fn with_presentation( self, value: &'a mut dyn CommandPresentationContext, ) -> Self
pub fn with_media(self, value: &'a mut dyn CommandMediaContext) -> Self
pub fn with_memory(self, value: &'a mut dyn CommandMemoryContext) -> Self
pub fn with_project(self, value: &'a mut dyn CommandProjectContext) -> Self
pub fn with_skill_group( self, value: &'a mut dyn CommandSkillGroupContext, ) -> Self
pub fn with_plugin(self, value: &'a mut dyn CommandPluginContext) -> Self
pub fn with_lifecycle( self, value: &'a mut dyn CommandSessionLifecycleContext, ) -> Self
pub fn with_control( self, value: &'a mut dyn CommandSessionControlContext, ) -> Self
pub fn with_structcopy( self, value: &'a mut dyn CommandSessionStructcopyContext, ) -> Self
pub fn with_export(self, value: &'a mut dyn CommandSessionExportContext) -> Self
pub fn with_debug_receipts( self, value: &'a mut dyn CommandDebugReceiptsContext, ) -> Self
pub fn with_debug_change( self, value: &'a mut dyn CommandDebugChangeContext, ) -> Self
pub fn with_debug_history( self, value: &'a mut dyn CommandDebugHistoryContext, ) -> Self
pub fn with_debug_diff(self, value: &'a mut dyn CommandDebugDiffContext) -> Self
pub fn with_debug_undo(self, value: &'a mut dyn CommandDebugUndoContext) -> Self
pub fn with_debug_diagnostics( self, value: &'a mut dyn CommandDebugDiagnosticsContext, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for CommandContexts<'a>
impl<'a> !Send for CommandContexts<'a>
impl<'a> !Sync for CommandContexts<'a>
impl<'a> !UnwindSafe for CommandContexts<'a>
impl<'a> Forget for CommandContexts<'a>
impl<'a> Freeze for CommandContexts<'a>
impl<'a> Move for CommandContexts<'a>
impl<'a> Unpin for CommandContexts<'a>
impl<'a> UnsafeUnpin for CommandContexts<'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