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_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_export(self, value: &'a mut dyn CommandSessionExportContext) -> 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> Freeze 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