pub struct GetInteractionConfig {
pub http_options: Option<HttpOptions>,
pub include_input: Option<bool>,
pub stream: Option<bool>,
pub last_event_id: Option<String>,
}Expand description
Get Interaction 配置。
Fields§
§http_options: Option<HttpOptions>§include_input: Option<bool>If set to true, includes the input in the response.
stream: Option<bool>If set to true, the generated content will be streamed incrementally.
last_event_id: Option<String>Optional. Resumes the interaction stream from the next chunk after the event id.
Trait Implementations§
Source§impl Clone for GetInteractionConfig
impl Clone for GetInteractionConfig
Source§fn clone(&self) -> GetInteractionConfig
fn clone(&self) -> GetInteractionConfig
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 GetInteractionConfig
impl Debug for GetInteractionConfig
Source§impl Default for GetInteractionConfig
impl Default for GetInteractionConfig
Source§fn default() -> GetInteractionConfig
fn default() -> GetInteractionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetInteractionConfig
impl<'de> Deserialize<'de> for GetInteractionConfig
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 GetInteractionConfig
impl RefUnwindSafe for GetInteractionConfig
impl Send for GetInteractionConfig
impl Sync for GetInteractionConfig
impl Unpin for GetInteractionConfig
impl UnsafeUnpin for GetInteractionConfig
impl UnwindSafe for GetInteractionConfig
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