pub struct RestTextTurnResponse {
pub thread_id: String,
pub turn_id: String,
pub turn_status: Option<String>,
pub agent_message: String,
pub latest_diff: Option<String>,
pub errors: Vec<Value>,
}Expand description
Response body for POST /v1/text-turn.
Fields§
§thread_id: String§turn_id: String§turn_status: Option<String>§agent_message: String§latest_diff: Option<String>§errors: Vec<Value>Trait Implementations§
Source§impl Clone for RestTextTurnResponse
impl Clone for RestTextTurnResponse
Source§fn clone(&self) -> RestTextTurnResponse
fn clone(&self) -> RestTextTurnResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RestTextTurnResponse
impl Debug for RestTextTurnResponse
Source§impl Default for RestTextTurnResponse
impl Default for RestTextTurnResponse
Source§fn default() -> RestTextTurnResponse
fn default() -> RestTextTurnResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RestTextTurnResponse
impl<'de> Deserialize<'de> for RestTextTurnResponse
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
Source§impl From<TextTurnResult> for RestTextTurnResponse
impl From<TextTurnResult> for RestTextTurnResponse
Source§fn from(result: TextTurnResult) -> Self
fn from(result: TextTurnResult) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RestTextTurnResponse
impl PartialEq for RestTextTurnResponse
Source§fn eq(&self, other: &RestTextTurnResponse) -> bool
fn eq(&self, other: &RestTextTurnResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RestTextTurnResponse
impl Serialize for RestTextTurnResponse
impl Eq for RestTextTurnResponse
impl StructuralPartialEq for RestTextTurnResponse
Auto Trait Implementations§
impl Freeze for RestTextTurnResponse
impl RefUnwindSafe for RestTextTurnResponse
impl Send for RestTextTurnResponse
impl Sync for RestTextTurnResponse
impl Unpin for RestTextTurnResponse
impl UnsafeUnpin for RestTextTurnResponse
impl UnwindSafe for RestTextTurnResponse
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.