pub struct TurnSteerParams {
pub session_id: String,
pub text: String,
pub entry_id: Option<String>,
}Expand description
Parameters for steering the live turn with a prompt. When the prompt comes
from a queued row, entry_id asks the service to remove that entry in the
same request so it is never dispatched a second time.
Fields§
§session_id: StringSession that owns the running turn.
text: StringThe prompt to inject as SteeringMessage::FollowUpInput.
entry_id: Option<String>Queue entry to drop before steering, when steering a queued row.
Trait Implementations§
Source§impl Clone for TurnSteerParams
impl Clone for TurnSteerParams
Source§impl Debug for TurnSteerParams
impl Debug for TurnSteerParams
Source§impl<'de> Deserialize<'de> for TurnSteerParams
impl<'de> Deserialize<'de> for TurnSteerParams
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
impl Eq for TurnSteerParams
Source§impl PartialEq for TurnSteerParams
impl PartialEq for TurnSteerParams
Source§impl Serialize for TurnSteerParams
impl Serialize for TurnSteerParams
impl StructuralPartialEq for TurnSteerParams
Auto Trait Implementations§
impl Forget for TurnSteerParams
impl Freeze for TurnSteerParams
impl Move for TurnSteerParams
impl RefUnwindSafe for TurnSteerParams
impl Send for TurnSteerParams
impl Sync for TurnSteerParams
impl Unpin for TurnSteerParams
impl UnsafeUnpin for TurnSteerParams
impl UnwindSafe for TurnSteerParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.