1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use core::fmt;

#[derive(Debug, Clone, PartialEq, Eq)]
pub enum RawConvert {
    Aspose,
    GoogleSpeech,
    ExtractText,
}

impl fmt::Display for RawConvert {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        match self {
            RawConvert::Aspose => write!(f, "aspose"),
            RawConvert::GoogleSpeech => write!(f, "google_speech"),
            RawConvert::ExtractText => write!(f, "extract_text"),
        }
    }
}