pub type CommentExtracted<Meta> = Comment<Meta, Vec<CalculationJob>>;Aliased Type§
pub struct CommentExtracted<Meta> {
pub meta: Meta,
pub calculation_list: Vec<CalculationJob>,
pub notify: Option<String>,
pub status: Status,
pub commands: Commands,
pub max_length: usize,
}Fields§
§meta: MetaMetadata (generic)
calculation_list: Vec<CalculationJob>Data for the current step
notify: Option<String>If Some will prepend a “Hey {string}!” to the reply.
status: Status§commands: Commands§max_length: usizeHow long the reply may at most be
Implementations§
Source§impl<Meta> CommentExtracted<Meta>
impl<Meta> CommentExtracted<Meta>
Sourcepub fn calc(self) -> CommentCalculated<Meta>
pub fn calc(self) -> CommentCalculated<Meta>
Does the calculations using calculation_tasks.