pub struct MetadataRecordContextChangeResult {}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 MetadataRecordContextChangeResult
impl Clone for MetadataRecordContextChangeResult
Source§fn clone(&self) -> MetadataRecordContextChangeResult
fn clone(&self) -> MetadataRecordContextChangeResult
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 MetadataRecordContextChangeResult
impl Default for MetadataRecordContextChangeResult
Source§fn default() -> MetadataRecordContextChangeResult
fn default() -> MetadataRecordContextChangeResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetadataRecordContextChangeResult
impl<'de> Deserialize<'de> for MetadataRecordContextChangeResult
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 MetadataRecordContextChangeResult
impl RefUnwindSafe for MetadataRecordContextChangeResult
impl Send for MetadataRecordContextChangeResult
impl Sync for MetadataRecordContextChangeResult
impl Unpin for MetadataRecordContextChangeResult
impl UnsafeUnpin for MetadataRecordContextChangeResult
impl UnwindSafe for MetadataRecordContextChangeResult
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