pub struct ListenExecutionContext {
pub operation_id: String,
pub revision: u64,
pub snapshot: Value,
pub expires_at: Option<OffsetDateTime>,
}Expand description
Context captured for listen/execute tools while awaiting confirmation.
Fields§
§operation_id: StringOpaque operation identifier used to execute/cancel.
revision: u64Revision used for optimistic concurrency checks.
snapshot: ValueSnapshot shown to the user during confirmation.
expires_at: Option<OffsetDateTime>Optional expiration timestamp (RFC3339).
Trait Implementations§
Source§impl Clone for ListenExecutionContext
impl Clone for ListenExecutionContext
Source§fn clone(&self) -> ListenExecutionContext
fn clone(&self) -> ListenExecutionContext
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 ListenExecutionContext
impl Debug for ListenExecutionContext
Source§impl<'de> Deserialize<'de> for ListenExecutionContext
impl<'de> Deserialize<'de> for ListenExecutionContext
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 ListenExecutionContext
impl RefUnwindSafe for ListenExecutionContext
impl Send for ListenExecutionContext
impl Sync for ListenExecutionContext
impl Unpin for ListenExecutionContext
impl UnsafeUnpin for ListenExecutionContext
impl UnwindSafe for ListenExecutionContext
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