pub struct Context {
pub cwd: Option<PathBuf>,
pub session: Option<String>,
}Expand description
Who is asking: what the project and session scopes are resolved from.
Fields§
§cwd: Option<PathBuf>The caller’s working directory (absolute).
session: Option<String>The agent session’s id.
Trait Implementations§
impl Eq for Context
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Forget for Context
impl Freeze for Context
impl Move for Context
impl RefUnwindSafe for Context
impl Send for Contextwhere
RawVecInner: Send,
impl Sync for Contextwhere
RawVecInner: Sync,
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Contextwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.