pub struct ProcessDocumentResponse {
pub content: String,
pub model: Option<String>,
pub cost_ticks: i64,
pub request_id: String,
}Expand description
Response from document processing.
Fields§
§content: StringProcessed content / analysis result.
model: Option<String>Model used for processing.
cost_ticks: i64Total cost in ticks.
request_id: StringUnique request identifier.
Trait Implementations§
Source§impl Clone for ProcessDocumentResponse
impl Clone for ProcessDocumentResponse
Source§fn clone(&self) -> ProcessDocumentResponse
fn clone(&self) -> ProcessDocumentResponse
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 ProcessDocumentResponse
impl Debug for ProcessDocumentResponse
Source§impl<'de> Deserialize<'de> for ProcessDocumentResponse
impl<'de> Deserialize<'de> for ProcessDocumentResponse
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 ProcessDocumentResponse
impl RefUnwindSafe for ProcessDocumentResponse
impl Send for ProcessDocumentResponse
impl Sync for ProcessDocumentResponse
impl Unpin for ProcessDocumentResponse
impl UnsafeUnpin for ProcessDocumentResponse
impl UnwindSafe for ProcessDocumentResponse
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