pub type FileResponse = FileParseResultResponse;Expand description
Response returned by synchronous parsing. The sync and result-retrieval
endpoints share the frozen FileParseResultResponse schema.
Aliased Type§
pub struct FileResponse {
pub status: ParserStatus,
pub message: String,
pub task_id: String,
pub content: Option<String>,
pub parsing_result_url: Option<String>,
}Fields§
§status: ParserStatusCurrent processing status.
message: StringProvider status message.
task_id: StringUnique parsing-task identifier.
content: Option<String>Parsed text when the requested format is FormatType::Text.
parsing_result_url: Option<String>Download URL when the requested format is FormatType::DownloadLink.