pub struct ExtractTextResponse {
pub text: String,
pub pages: usize,
}Expand description
Response for text extraction endpoint
Fields§
§text: StringExtracted text from the PDF
pages: usizeNumber of pages processed
Trait Implementations§
Source§impl Debug for ExtractTextResponse
impl Debug for ExtractTextResponse
Source§impl<'de> Deserialize<'de> for ExtractTextResponse
impl<'de> Deserialize<'de> for ExtractTextResponse
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 Freeze for ExtractTextResponse
impl RefUnwindSafe for ExtractTextResponse
impl Send for ExtractTextResponse
impl Sync for ExtractTextResponse
impl Unpin for ExtractTextResponse
impl UnwindSafe for ExtractTextResponse
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