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