pub(super) mod storage;
use std::sync::Arc;
#[derive(Debug, Clone)]
pub struct Interaction {
pub request: String,
pub responses: Vec<String>,
}
impl Interaction {
pub(crate) fn new(request: String) -> Self {
Self {
request,
responses: Vec::new(),
}
}
pub(crate) fn add_response(&mut self, response: String) {
self.responses.push(response);
}
}
pub(super) type SharedInteraction = Arc<Interaction>;