pub struct ProcessResponse {
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 ProcessResponse
impl Clone for ProcessResponse
Source§fn clone(&self) -> ProcessResponse
fn clone(&self) -> ProcessResponse
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 ProcessResponse
impl Debug for ProcessResponse
Source§impl<'de> Deserialize<'de> for ProcessResponse
impl<'de> Deserialize<'de> for ProcessResponse
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 ProcessResponse
impl RefUnwindSafe for ProcessResponse
impl Send for ProcessResponse
impl Sync for ProcessResponse
impl Unpin for ProcessResponse
impl UnsafeUnpin for ProcessResponse
impl UnwindSafe for ProcessResponse
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