pub struct ResponsesAnnotation {
pub kind: String,
pub url: String,
pub start_index: i64,
pub end_index: i64,
}Expand description
Annotation attached to an ResponsesOutputContent (e.g. URL citation).
Fields§
§kind: StringAnnotation type discriminator (e.g. "url_citation").
url: StringCited URL.
start_index: i64Start character offset within the output text.
end_index: i64End character offset within the output text.
Trait Implementations§
Source§impl Clone for ResponsesAnnotation
impl Clone for ResponsesAnnotation
Source§fn clone(&self) -> ResponsesAnnotation
fn clone(&self) -> ResponsesAnnotation
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 ResponsesAnnotation
impl Debug for ResponsesAnnotation
Source§impl Default for ResponsesAnnotation
impl Default for ResponsesAnnotation
Source§fn default() -> ResponsesAnnotation
fn default() -> ResponsesAnnotation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponsesAnnotation
impl<'de> Deserialize<'de> for ResponsesAnnotation
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 ResponsesAnnotation
impl PartialEq for ResponsesAnnotation
Source§impl Serialize for ResponsesAnnotation
impl Serialize for ResponsesAnnotation
impl StructuralPartialEq for ResponsesAnnotation
Auto Trait Implementations§
impl Freeze for ResponsesAnnotation
impl RefUnwindSafe for ResponsesAnnotation
impl Send for ResponsesAnnotation
impl Sync for ResponsesAnnotation
impl Unpin for ResponsesAnnotation
impl UnsafeUnpin for ResponsesAnnotation
impl UnwindSafe for ResponsesAnnotation
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