pub struct RealtimeClientEventResponseCancel {
pub event_id: Option<String>,
pub response_id: Option<String>,
pub _type: String,
}
Fields§
§event_id: Option<String>
Optional client-generated ID used to identify this event.
response_id: Option<String>
A specific response ID to cancel - if not provided, will cancel an in-progress response in the default conversation.
_type: String
The event type, must be response.cancel
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeClientEventResponseCancel
impl<'de> Deserialize<'de> for RealtimeClientEventResponseCancel
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 RealtimeClientEventResponseCancel
impl RefUnwindSafe for RealtimeClientEventResponseCancel
impl Send for RealtimeClientEventResponseCancel
impl Sync for RealtimeClientEventResponseCancel
impl Unpin for RealtimeClientEventResponseCancel
impl UnwindSafe for RealtimeClientEventResponseCancel
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