Struct mod_installer::parser_config::ParserConfig
source · pub(crate) struct ParserConfig {
pub(crate) in_progress_words: Vec<String>,
pub(crate) useful_status_words: Vec<String>,
pub(crate) choice_words: Vec<String>,
pub(crate) choice_phrase: Vec<String>,
pub(crate) completed_with_warnings: String,
pub(crate) failed_with_error: String,
pub(crate) finished: String,
pub(crate) eet_finished: String,
}
Fields§
§in_progress_words: Vec<String>
§useful_status_words: Vec<String>
§choice_words: Vec<String>
§choice_phrase: Vec<String>
§completed_with_warnings: String
§failed_with_error: String
§finished: String
§eet_finished: String
Implementations§
source§impl ParserConfig
impl ParserConfig
pub fn string_looks_like_question(&self, weidu_output: &str) -> bool
pub fn detect_weidu_finished_state(&self, weidu_output: &str) -> Option<State>
Trait Implementations§
source§impl Debug for ParserConfig
impl Debug for ParserConfig
source§impl Default for ParserConfig
impl Default for ParserConfig
source§impl<'de> Deserialize<'de> for ParserConfig
impl<'de> Deserialize<'de> for ParserConfig
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 ParserConfig
impl PartialEq for ParserConfig
source§impl Serialize for ParserConfig
impl Serialize for ParserConfig
impl StructuralPartialEq for ParserConfig
Auto Trait Implementations§
impl Freeze for ParserConfig
impl RefUnwindSafe for ParserConfig
impl Send for ParserConfig
impl Sync for ParserConfig
impl Unpin for ParserConfig
impl UnwindSafe for ParserConfig
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