pub struct SessionWorkingDirectorySetAction {
pub directory: Uri,
}Expand description
A working directory was added to the session’s {@link SessionState.workingDirectories} set.
Membership semantics keyed by the directory URI: the reducer appends
directory when the set does not already contain it (creating the set if
absent) and is a no-op when it is already present. Only valid when the agent
advertises {@link AgentCapabilities.multipleWorkingDirectories}.
Fields§
§directory: UriThe working directory to grant the session’s agent tool access to.
Trait Implementations§
Source§impl Clone for SessionWorkingDirectorySetAction
impl Clone for SessionWorkingDirectorySetAction
Source§fn clone(&self) -> SessionWorkingDirectorySetAction
fn clone(&self) -> SessionWorkingDirectorySetAction
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<'de> Deserialize<'de> for SessionWorkingDirectorySetAction
impl<'de> Deserialize<'de> for SessionWorkingDirectorySetAction
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
impl StructuralPartialEq for SessionWorkingDirectorySetAction
Auto Trait Implementations§
impl Freeze for SessionWorkingDirectorySetAction
impl RefUnwindSafe for SessionWorkingDirectorySetAction
impl Send for SessionWorkingDirectorySetAction
impl Sync for SessionWorkingDirectorySetAction
impl Unpin for SessionWorkingDirectorySetAction
impl UnsafeUnpin for SessionWorkingDirectorySetAction
impl UnwindSafe for SessionWorkingDirectorySetAction
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