#[non_exhaustive]pub struct Remote {
pub default_environment_id: Option<String>,
pub extra: Extra,
}Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.default_environment_id: Option<String>Pick the default cloud environment
for cloud sessions you create from the CLI, such as with claude --cloud. Claude Code
writes this key to your user settings when you pick an environment with
/remote-env.
- Values: string, an environment ID such as
env_...orccpool_... - Default: unset, so Claude Code uses the Anthropic-hosted environment when your list has one, and otherwise the first environment in your list that isn’t a Remote Control bridge environment, or the first environment when every one is a bridge environment
- Scope: any settings file. For a self-hosted environment ID, user or managed
settings, or the
--settingsflag only.
Docs: defaultEnvironmentId.
extra: ExtraKeys Claude Code accepts here that this crate doesn’t model (newer or undocumented ones), kept as written so the document round-trips.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Remote
impl<'de> Deserialize<'de> for Remote
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 Remote
Auto Trait Implementations§
impl Forget for Remote
impl Freeze for Remote
impl Move for Remote
impl RefUnwindSafe for Remote
impl Send for Remote
impl Sync for Remote
impl Unpin for Remote
impl UnsafeUnpin for Remote
impl UnwindSafe for Remote
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