pub struct ThreadRunnerParams {
pub provider_id: String,
pub config: Option<Value>,
pub workspace: String,
pub read_roots: Vec<String>,
}Fields§
§provider_id: StringInstalled remote-runner provider id (e.g. “e2b”).
config: Option<Value>Provider-specific destination config. Persisted with the thread, so it must not carry secrets; providers read those from their environment.
workspace: StringAbsolute path on the runner used as the thread’s coding-tool workspace root.
read_roots: Vec<String>Extra absolute runner paths file reads may resolve under, beyond
workspace. Writes and the working directory stay confined to
workspace.
Trait Implementations§
Source§impl Clone for ThreadRunnerParams
impl Clone for ThreadRunnerParams
Source§fn clone(&self) -> ThreadRunnerParams
fn clone(&self) -> ThreadRunnerParams
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 ThreadRunnerParams
impl Debug for ThreadRunnerParams
Source§impl<'de> Deserialize<'de> for ThreadRunnerParams
impl<'de> Deserialize<'de> for ThreadRunnerParams
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 ThreadRunnerParams
impl PartialEq for ThreadRunnerParams
Source§fn eq(&self, other: &ThreadRunnerParams) -> bool
fn eq(&self, other: &ThreadRunnerParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ThreadRunnerParams
impl Serialize for ThreadRunnerParams
impl StructuralPartialEq for ThreadRunnerParams
Auto Trait Implementations§
impl Freeze for ThreadRunnerParams
impl RefUnwindSafe for ThreadRunnerParams
impl Send for ThreadRunnerParams
impl Sync for ThreadRunnerParams
impl Unpin for ThreadRunnerParams
impl UnsafeUnpin for ThreadRunnerParams
impl UnwindSafe for ThreadRunnerParams
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