pub struct ResolveSessionConfigParams {
pub channel: Uri,
pub provider: Option<String>,
pub working_directory: Option<Uri>,
pub config: Option<JsonObject>,
}Expand description
Iteratively resolves the session configuration schema. The client sends the current partial session config and any user-filled metadata values. The server returns a property schema describing what additional metadata is needed, contextual to the current selections.
The client calls this command whenever the user changes a significant input
(e.g. picks a working directory, toggles a property). Each response returns
the full current property set (not a delta). The returned values contain
server-resolved defaults to pass to createSession.
Fields§
§channel: UriChannel URI this command targets.
provider: Option<String>Agent provider ID
working_directory: Option<Uri>Working directory for the session
config: Option<JsonObject>Current user-filled configuration values
Trait Implementations§
Source§impl Clone for ResolveSessionConfigParams
impl Clone for ResolveSessionConfigParams
Source§fn clone(&self) -> ResolveSessionConfigParams
fn clone(&self) -> ResolveSessionConfigParams
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 Debug for ResolveSessionConfigParams
impl Debug for ResolveSessionConfigParams
Source§impl<'de> Deserialize<'de> for ResolveSessionConfigParams
impl<'de> Deserialize<'de> for ResolveSessionConfigParams
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
Source§impl PartialEq for ResolveSessionConfigParams
impl PartialEq for ResolveSessionConfigParams
Source§fn eq(&self, other: &ResolveSessionConfigParams) -> bool
fn eq(&self, other: &ResolveSessionConfigParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolveSessionConfigParams
Auto Trait Implementations§
impl Freeze for ResolveSessionConfigParams
impl RefUnwindSafe for ResolveSessionConfigParams
impl Send for ResolveSessionConfigParams
impl Sync for ResolveSessionConfigParams
impl Unpin for ResolveSessionConfigParams
impl UnsafeUnpin for ResolveSessionConfigParams
impl UnwindSafe for ResolveSessionConfigParams
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