pub struct Settings {Show 13 fields
pub language: Option<String>,
pub dialects: Value,
pub voices: Value,
pub tts_gender: Option<String>,
pub tts_rate: f64,
pub braille_translation_table: String,
pub braille_cells_per_line: i64,
pub braille_split_into_pages: bool,
pub braille_lines_per_page: i64,
pub large_print: bool,
pub add_image_descriptions: bool,
pub math: bool,
pub notify_when_complete: bool,
}Expand description
A document’s current conversion settings
Fields§
§language: Option<String>§dialects: Value§voices: Value§tts_gender: Option<String>§tts_rate: f64§braille_translation_table: String§braille_cells_per_line: i64§braille_split_into_pages: bool§braille_lines_per_page: i64§large_print: bool§add_image_descriptions: bool§math: bool§notify_when_complete: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
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
Auto Trait Implementations§
impl Forget for Settings
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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