pub struct TurnEnvironmentParams {
pub environment_id: String,
pub cwd: PathBuf,
}Expand description
Environment target selected for a turn’s shell/filesystem work.
Example JSON:
{
"environment_id": "local",
"cwd": "/workspace"
}Fields§
§environment_id: String§cwd: PathBufTrait Implementations§
Source§impl Clone for TurnEnvironmentParams
impl Clone for TurnEnvironmentParams
Source§fn clone(&self) -> TurnEnvironmentParams
fn clone(&self) -> TurnEnvironmentParams
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 TurnEnvironmentParams
impl Debug for TurnEnvironmentParams
Source§impl<'de> Deserialize<'de> for TurnEnvironmentParams
impl<'de> Deserialize<'de> for TurnEnvironmentParams
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 TurnEnvironmentParams
impl PartialEq for TurnEnvironmentParams
Source§fn eq(&self, other: &TurnEnvironmentParams) -> bool
fn eq(&self, other: &TurnEnvironmentParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TurnEnvironmentParams
impl Serialize for TurnEnvironmentParams
impl StructuralPartialEq for TurnEnvironmentParams
Auto Trait Implementations§
impl Freeze for TurnEnvironmentParams
impl RefUnwindSafe for TurnEnvironmentParams
impl Send for TurnEnvironmentParams
impl Sync for TurnEnvironmentParams
impl Unpin for TurnEnvironmentParams
impl UnsafeUnpin for TurnEnvironmentParams
impl UnwindSafe for TurnEnvironmentParams
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