pub struct SessionMetadataRecordContextChangeResult {}Expand description
Notify the session that its working directory context has changed. Emits a session.context_changed event so consumers (telemetry, OTel tracker, ACP, the timeline UI) can react. Use this when the host has detected a cwd/branch/repo change outside the session’s normal lifecycle (e.g., after a shell command in interactive mode).
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Trait Implementations§
Source§impl Clone for SessionMetadataRecordContextChangeResult
impl Clone for SessionMetadataRecordContextChangeResult
Source§fn clone(&self) -> SessionMetadataRecordContextChangeResult
fn clone(&self) -> SessionMetadataRecordContextChangeResult
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 Default for SessionMetadataRecordContextChangeResult
impl Default for SessionMetadataRecordContextChangeResult
Source§fn default() -> SessionMetadataRecordContextChangeResult
fn default() -> SessionMetadataRecordContextChangeResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionMetadataRecordContextChangeResult
impl<'de> Deserialize<'de> for SessionMetadataRecordContextChangeResult
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 SessionMetadataRecordContextChangeResult
impl RefUnwindSafe for SessionMetadataRecordContextChangeResult
impl Send for SessionMetadataRecordContextChangeResult
impl Sync for SessionMetadataRecordContextChangeResult
impl Unpin for SessionMetadataRecordContextChangeResult
impl UnsafeUnpin for SessionMetadataRecordContextChangeResult
impl UnwindSafe for SessionMetadataRecordContextChangeResult
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