pub struct GetResponseQuery {
pub include: Option<Vec<String>>,
pub stream: Option<bool>,
pub starting_after: Option<u32>,
pub include_obfuscation: Option<bool>,
}Available on crate feature
response-types only.Expand description
Query parameters for getting a response.
Fields§
§include: Option<Vec<String>>Additional fields to include in the response.
stream: Option<bool>If set to true, the model response data will be streamed to the client as it is generated using server-sent events.
starting_after: Option<u32>The sequence number of the event after which to start streaming.
include_obfuscation: Option<bool>When true, stream obfuscation will be enabled.
Trait Implementations§
Source§impl Clone for GetResponseQuery
impl Clone for GetResponseQuery
Source§fn clone(&self) -> GetResponseQuery
fn clone(&self) -> GetResponseQuery
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 GetResponseQuery
impl Debug for GetResponseQuery
Source§impl Default for GetResponseQuery
impl Default for GetResponseQuery
Source§fn default() -> GetResponseQuery
fn default() -> GetResponseQuery
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetResponseQuery
impl PartialEq for GetResponseQuery
Source§impl Serialize for GetResponseQuery
impl Serialize for GetResponseQuery
impl StructuralPartialEq for GetResponseQuery
Auto Trait Implementations§
impl Freeze for GetResponseQuery
impl RefUnwindSafe for GetResponseQuery
impl Send for GetResponseQuery
impl Sync for GetResponseQuery
impl Unpin for GetResponseQuery
impl UnwindSafe for GetResponseQuery
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