pub struct SessionWorkingDirectoryRemovedAction {
pub directory: Uri,
}Expand description
A working directory was removed from the session’s {@link SessionState.workingDirectories} set.
Removes directory from the set; a no-op when it is not present. There is no
atomic backend “remove one” primitive — a host reconfigures its agent to the
reduced set — so this action is safe to model as idempotent. A host MAY
decline to apply the removal (e.g. an immutable primary directory, see
{@link MultipleWorkingDirectoriesCapability.immutablePrimary}); it then leaves
the set unchanged.
Fields§
§directory: UriThe working directory to revoke the session’s agent tool access to.
Trait Implementations§
Source§impl Clone for SessionWorkingDirectoryRemovedAction
impl Clone for SessionWorkingDirectoryRemovedAction
Source§fn clone(&self) -> SessionWorkingDirectoryRemovedAction
fn clone(&self) -> SessionWorkingDirectoryRemovedAction
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 SessionWorkingDirectoryRemovedAction
impl<'de> Deserialize<'de> for SessionWorkingDirectoryRemovedAction
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 SessionWorkingDirectoryRemovedAction
Auto Trait Implementations§
impl Freeze for SessionWorkingDirectoryRemovedAction
impl RefUnwindSafe for SessionWorkingDirectoryRemovedAction
impl Send for SessionWorkingDirectoryRemovedAction
impl Sync for SessionWorkingDirectoryRemovedAction
impl Unpin for SessionWorkingDirectoryRemovedAction
impl UnsafeUnpin for SessionWorkingDirectoryRemovedAction
impl UnwindSafe for SessionWorkingDirectoryRemovedAction
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