Skip to main content

FileResponse

Type Alias FileResponse 

Source
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: ParserStatus

Current processing status.

§message: String

Provider status message.

§task_id: String

Unique 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.