pub struct Ocr { /* private fields */ }Implementations§
Source§impl Ocr
impl Ocr
pub fn new(path: &str) -> Self
pub fn from(data: JsonValue) -> Self
pub fn news() -> Self
pub fn connection(&mut self, name: &str) -> &mut Self
pub fn ocr(&mut self, file_path: &str, file_b64: &str) -> JsonValue
pub fn get_mail(&mut self, list: JsonValue) -> String
pub fn translate(&mut self, text: &str) -> JsonValue
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ocr
impl RefUnwindSafe for Ocr
impl Send for Ocr
impl Sync for Ocr
impl Unpin for Ocr
impl UnwindSafe for Ocr
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