pub type CommentCalculated<Meta> = Comment<Meta, Vec<Calculation>>;Expand description
Aliased Type§
pub struct CommentCalculated<Meta> {
    pub meta: Meta,
    pub calculation_list: Vec<Calculation>,
    pub notify: Option<String>,
    pub status: Status,
    pub commands: Commands,
    pub max_length: usize,
    pub locale: String,
}Fields§
§meta: MetaMetadata (generic)
calculation_list: Vec<Calculation>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
locale: StringImplementations§
Source§impl<Meta> CommentCalculated<Meta>
 
impl<Meta> CommentCalculated<Meta>
Sourcepub fn get_reply(&self, consts: &Consts<'_>) -> String
 
pub fn get_reply(&self, consts: &Consts<'_>) -> String
Does the formatting for the reply using calculation_result.