pub(crate) struct AccountBinding<'a> {
pub config_dir: &'a Path,
pub env: &'a HashMap<String, String>,
}Expand description
Per-account spawn binding threaded into every claude subprocess:
the account’s config_dir (exported as CLAUDE_CONFIG_DIR) and the
session’s resolved env - [env] merged with [accounts.env] and the
spawning project’s env. Both come from the bridge, distinct from the
per-launch SessionLaunchSettings.
Fields§
§config_dir: &'a Path§env: &'a HashMap<String, String>Auto Trait Implementations§
impl<'a> Freeze for AccountBinding<'a>
impl<'a> RefUnwindSafe for AccountBinding<'a>
impl<'a> Send for AccountBinding<'a>
impl<'a> Sync for AccountBinding<'a>
impl<'a> Unpin for AccountBinding<'a>
impl<'a> UnsafeUnpin for AccountBinding<'a>
impl<'a> UnwindSafe for AccountBinding<'a>
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