pub struct PipelineContext {
pub message: Message,
pub context: Arc<RwLock<Context>>,
pub metadata: HashMap<String, Value>,
}Expand description
Pipeline processing context
Fields§
§message: MessageThe message being processed
context: Arc<RwLock<Context>>Conversation context
metadata: HashMap<String, Value>Pipeline metadata
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PipelineContext
impl !RefUnwindSafe for PipelineContext
impl Send for PipelineContext
impl Sync for PipelineContext
impl Unpin for PipelineContext
impl !UnwindSafe for PipelineContext
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