pub struct ResponseTextAnnotationDeltaEvent {
pub type: String,
pub item_id: String,
pub output_index: i64,
pub content_index: i64,
pub annotation_index: i64,
pub annotation: Annotation,
}
Expand description
Emitted when a text annotation is added.
Fields§
§type: String
The type of the event.
item_id: String
The ID of the output item that the text annotation was added to.
output_index: i64
The index of the output item that the text annotation was added to.
content_index: i64
The index of the content part that the text annotation was added to.
annotation_index: i64
The index of the annotation that was added.
annotation: Annotation
Trait Implementations§
Source§impl Clone for ResponseTextAnnotationDeltaEvent
impl Clone for ResponseTextAnnotationDeltaEvent
Source§fn clone(&self) -> ResponseTextAnnotationDeltaEvent
fn clone(&self) -> ResponseTextAnnotationDeltaEvent
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ResponseTextAnnotationDeltaEvent
impl RefUnwindSafe for ResponseTextAnnotationDeltaEvent
impl Send for ResponseTextAnnotationDeltaEvent
impl Sync for ResponseTextAnnotationDeltaEvent
impl Unpin for ResponseTextAnnotationDeltaEvent
impl UnwindSafe for ResponseTextAnnotationDeltaEvent
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