pub struct ExecuteClientSync {
pub client_message_count: usize,
pub client_last_message_id: Option<String>,
pub client_has_pending_question: bool,
pub client_pending_question_tool_call_id: Option<String>,
}Expand description
Client waterline used to detect stale frontend state before execution starts.
Fields§
§client_message_count: usizeNumber of messages the client last confirmed from the server.
client_last_message_id: Option<String>Last confirmed backend message id known by the client.
client_has_pending_question: boolWhether the client currently believes the session is waiting for a question response.
client_pending_question_tool_call_id: Option<String>Tool call id for the currently pending question, when known.
Trait Implementations§
Source§impl Clone for ExecuteClientSync
impl Clone for ExecuteClientSync
Source§fn clone(&self) -> ExecuteClientSync
fn clone(&self) -> ExecuteClientSync
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 ExecuteClientSync
impl Debug for ExecuteClientSync
Source§impl<'de> Deserialize<'de> for ExecuteClientSync
impl<'de> Deserialize<'de> for ExecuteClientSync
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 PartialEq for ExecuteClientSync
impl PartialEq for ExecuteClientSync
Source§impl Serialize for ExecuteClientSync
impl Serialize for ExecuteClientSync
impl Eq for ExecuteClientSync
impl StructuralPartialEq for ExecuteClientSync
Auto Trait Implementations§
impl Freeze for ExecuteClientSync
impl RefUnwindSafe for ExecuteClientSync
impl Send for ExecuteClientSync
impl Sync for ExecuteClientSync
impl Unpin for ExecuteClientSync
impl UnsafeUnpin for ExecuteClientSync
impl UnwindSafe for ExecuteClientSync
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.