pub struct AnalysisPlan {
pub min_messages_threshold: Option<f64>,
pub summary_plan: Option<SummaryPlan>,
pub structured_data_plan: Option<StructuredDataPlan>,
pub structured_data_multi_plan: Option<Vec<StructuredDataMultiPlan>>,
pub success_evaluation_plan: Option<SuccessEvaluationPlan>,
}
Fields§
§min_messages_threshold: Option<f64>
The minimum number of messages required to run the analysis plan. If the number of messages is less than this, analysis will be skipped. @default 2
summary_plan: Option<SummaryPlan>
This is the plan for generating the summary of the call. This outputs to call.analysis.summary
.
structured_data_plan: Option<StructuredDataPlan>
This is the plan for generating the structured data from the call. This outputs to call.analysis.structuredData
.
structured_data_multi_plan: Option<Vec<StructuredDataMultiPlan>>
This is an array of structured data plan catalogs. Each entry includes a key
and a plan
for generating the structured data from the call. This outputs to call.analysis.structuredDataMulti
.
success_evaluation_plan: Option<SuccessEvaluationPlan>
This is the plan for generating the success evaluation of the call. This outputs to call.analysis.successEvaluation
.
Implementations§
Source§impl AnalysisPlan
impl AnalysisPlan
pub fn new() -> AnalysisPlan
Trait Implementations§
Source§impl Clone for AnalysisPlan
impl Clone for AnalysisPlan
Source§fn clone(&self) -> AnalysisPlan
fn clone(&self) -> AnalysisPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AnalysisPlan
impl Debug for AnalysisPlan
Source§impl Default for AnalysisPlan
impl Default for AnalysisPlan
Source§fn default() -> AnalysisPlan
fn default() -> AnalysisPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnalysisPlan
impl<'de> Deserialize<'de> for AnalysisPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AnalysisPlan
impl PartialEq for AnalysisPlan
Source§impl Serialize for AnalysisPlan
impl Serialize for AnalysisPlan
impl StructuralPartialEq for AnalysisPlan
Auto Trait Implementations§
impl Freeze for AnalysisPlan
impl RefUnwindSafe for AnalysisPlan
impl Send for AnalysisPlan
impl Sync for AnalysisPlan
impl Unpin for AnalysisPlan
impl UnwindSafe for AnalysisPlan
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