pub struct RealtimeClientEventResponseCreate {
pub event_id: Option<String>,
pub type: String,
pub response: Option<RealtimeResponseCreateParams>,
}
Expand description
This event instructs the server to create a Response, which means triggering model inference.
Fields§
§event_id: Option<String>
Optional client-generated ID used to identify this event.
type: String
The event type, must be response.create
.
response: Option<RealtimeResponseCreateParams>
Trait Implementations§
Source§impl Clone for RealtimeClientEventResponseCreate
impl Clone for RealtimeClientEventResponseCreate
Source§fn clone(&self) -> RealtimeClientEventResponseCreate
fn clone(&self) -> RealtimeClientEventResponseCreate
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 moreSource§impl Default for RealtimeClientEventResponseCreate
impl Default for RealtimeClientEventResponseCreate
Source§fn default() -> RealtimeClientEventResponseCreate
fn default() -> RealtimeClientEventResponseCreate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RealtimeClientEventResponseCreate
impl RefUnwindSafe for RealtimeClientEventResponseCreate
impl Send for RealtimeClientEventResponseCreate
impl Sync for RealtimeClientEventResponseCreate
impl Unpin for RealtimeClientEventResponseCreate
impl UnwindSafe for RealtimeClientEventResponseCreate
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