pub struct ParsePreviewResponse {
pub parser_used: String,
pub parser_candidates: Vec<ParseCandidate>,
pub session: Session,
pub source: ParseSource,
pub warnings: Vec<String>,
pub native_adapter: Option<String>,
}Expand description
Response body for POST /api/ingest/preview.
Fields§
§parser_used: String§parser_candidates: Vec<ParseCandidate>§session: Session§source: ParseSource§warnings: Vec<String>§native_adapter: Option<String>Trait Implementations§
Source§impl Clone for ParsePreviewResponse
impl Clone for ParsePreviewResponse
Source§fn clone(&self) -> ParsePreviewResponse
fn clone(&self) -> ParsePreviewResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsePreviewResponse
impl Debug for ParsePreviewResponse
Source§impl<'de> Deserialize<'de> for ParsePreviewResponse
impl<'de> Deserialize<'de> for ParsePreviewResponse
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 ParsePreviewResponse
impl RefUnwindSafe for ParsePreviewResponse
impl Send for ParsePreviewResponse
impl Sync for ParsePreviewResponse
impl Unpin for ParsePreviewResponse
impl UnsafeUnpin for ParsePreviewResponse
impl UnwindSafe for ParsePreviewResponse
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