pub struct AnnotationResponse {
pub complete: bool,
pub model: String,
pub file_name: String,
pub content_type: String,
pub text: String,
pub incomplete_reason: Option<String>,
pub usage: Option<TokenUsage>,
pub cost: Option<CostEstimate>,
}Fields§
§complete: bool§model: String§file_name: String§content_type: String§text: String§incomplete_reason: Option<String>§usage: Option<TokenUsage>§cost: Option<CostEstimate>Trait Implementations§
Source§impl Clone for AnnotationResponse
impl Clone for AnnotationResponse
Source§fn clone(&self) -> AnnotationResponse
fn clone(&self) -> AnnotationResponse
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 AnnotationResponse
impl Debug for AnnotationResponse
Source§impl<'de> Deserialize<'de> for AnnotationResponse
impl<'de> Deserialize<'de> for AnnotationResponse
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 AnnotationResponse
impl PartialEq for AnnotationResponse
Source§impl Serialize for AnnotationResponse
impl Serialize for AnnotationResponse
impl StructuralPartialEq for AnnotationResponse
Auto Trait Implementations§
impl Freeze for AnnotationResponse
impl RefUnwindSafe for AnnotationResponse
impl Send for AnnotationResponse
impl Sync for AnnotationResponse
impl Unpin for AnnotationResponse
impl UnsafeUnpin for AnnotationResponse
impl UnwindSafe for AnnotationResponse
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