fn parse_unstructured(pair: Pair<'_, Rule>, query: &mut Query) {
    let mut inner = pair.into_inner();
    // Get the message.
    let msg = inner.next().unwrap().as_str();
    let msg = &msg[1..msg.len() - 1];
    let selection = Selection {
        value: msg.to_string(),
        attr: None,
        structured: false,
    };
    query.selection = Some(selection);
}
/// parse_unstructured will parse the unstructed selection statement.
parse_unstructured will parse the unstructed selection statement.
parse_unstructured will parse the unstructed selection statement .
fn parse_unstructured(pair: Pair<'_, Rule>, query: &mut Query) {
    let mut inner = pair.into_inner();
    // Get the message.
    let msg = inner.next().unwrap().as_str();
    let msg = &msg[1..msg.len() - 1];
    let selection = Selection {
        value: msg.to_string(),
        attr: None,
        structured: false,
    };
    query.selection = Some(selection);
}
fn parse_unstructured ( pair : Pair < ' _ , Rule > , query : & mut Query ) { let mut inner = pair . into_inner ( ) ; // Get the message. let msg = inner . next ( ) . unwrap ( ) . as_str ( ) ; let msg = & msg [ 1 .. msg . len ( ) - 1 ] ; let selection = Selection { value : msg . to_string ( ) , attr : None , structured : false , } ; query . selection = Some ( selection ) ; }
parse_unstructured will parse the unstructed selection statement.
parse_unstructured will parse the unstructed selection statement .
pair
Pair<'_, Rule>
query
&mut Query