pub struct LayoutParsingResponse {
pub id: String,
pub created: i64,
pub model: String,
pub md_results: Option<String>,
pub layout_details: Option<Vec<Vec<LayoutDetail>>>,
pub layout_visualization: Option<Vec<String>>,
pub data_info: Option<DataInfo>,
pub usage: Option<LayoutUsage>,
pub request_id: Option<String>,
}Expand description
Response from the layout-parsing endpoint.
Fields§
§id: StringTask identifier.
created: i64Creation time as a Unix timestamp.
model: StringModel name returned by the service.
md_results: Option<String>Markdown parsing result.
layout_details: Option<Vec<Vec<LayoutDetail>>>Layout elements grouped by page.
layout_visualization: Option<Vec<String>>Layout-visualization image URLs.
data_info: Option<DataInfo>Document information.
usage: Option<LayoutUsage>Token usage.
request_id: Option<String>Request identifier.
Implementations§
Trait Implementations§
Source§impl Clone for LayoutParsingResponse
impl Clone for LayoutParsingResponse
Source§fn clone(&self) -> LayoutParsingResponse
fn clone(&self) -> LayoutParsingResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LayoutParsingResponse
impl Debug for LayoutParsingResponse
Source§impl<'de> Deserialize<'de> for LayoutParsingResponse
impl<'de> Deserialize<'de> for LayoutParsingResponse
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
Source§impl PartialEq for LayoutParsingResponse
impl PartialEq for LayoutParsingResponse
Source§impl Serialize for LayoutParsingResponse
impl Serialize for LayoutParsingResponse
impl StructuralPartialEq for LayoutParsingResponse
Auto Trait Implementations§
impl Freeze for LayoutParsingResponse
impl RefUnwindSafe for LayoutParsingResponse
impl Send for LayoutParsingResponse
impl Sync for LayoutParsingResponse
impl Unpin for LayoutParsingResponse
impl UnsafeUnpin for LayoutParsingResponse
impl UnwindSafe for LayoutParsingResponse
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