pub struct ResponseRefusalDoneEvent {
pub type: String,
pub item_id: String,
pub output_index: i64,
pub content_index: i64,
pub refusal: String,
}
Expand description
Emitted when refusal text is finalized.
Fields§
§type: String
The type of the event.
item_id: String
The ID of the output item that the refusal text is finalized.
output_index: i64
The index of the output item that the refusal text is finalized.
content_index: i64
The index of the content part that the refusal text is finalized.
refusal: String
The refusal text that is finalized.
Trait Implementations§
Source§impl Clone for ResponseRefusalDoneEvent
impl Clone for ResponseRefusalDoneEvent
Source§fn clone(&self) -> ResponseRefusalDoneEvent
fn clone(&self) -> ResponseRefusalDoneEvent
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 ResponseRefusalDoneEvent
impl Debug for ResponseRefusalDoneEvent
Source§impl Default for ResponseRefusalDoneEvent
impl Default for ResponseRefusalDoneEvent
Source§fn default() -> ResponseRefusalDoneEvent
fn default() -> ResponseRefusalDoneEvent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResponseRefusalDoneEvent
impl RefUnwindSafe for ResponseRefusalDoneEvent
impl Send for ResponseRefusalDoneEvent
impl Sync for ResponseRefusalDoneEvent
impl Unpin for ResponseRefusalDoneEvent
impl UnwindSafe for ResponseRefusalDoneEvent
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