pub struct ExecutionMetadataBuilder { /* private fields */ }Implementations§
Source§impl ExecutionMetadataBuilder
impl ExecutionMetadataBuilder
pub fn new(ctx: &RequestContext) -> Self
pub fn with_tool(self, name: impl Into<String>) -> Self
pub fn with_skill(self, id: impl Into<SkillId>, name: impl Into<String>) -> Self
pub fn with_execution(self, id: impl Into<String>) -> Self
pub fn build(self) -> ExecutionMetadata
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecutionMetadataBuilder
impl RefUnwindSafe for ExecutionMetadataBuilder
impl Send for ExecutionMetadataBuilder
impl Sync for ExecutionMetadataBuilder
impl Unpin for ExecutionMetadataBuilder
impl UnwindSafe for ExecutionMetadataBuilder
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