pub struct SessionSandboxConfig {
pub provider: String,
pub auto_start: bool,
pub idle_pause_after_seconds: u64,
pub provider_config: Value,
pub init: SessionSandboxInitConfig,
}Expand description
Session sandbox configuration.
Fields§
§provider: StringConcrete provider id (e.g. daytona).
auto_start: boolStart the sandbox proactively when the session is created.
idle_pause_after_seconds: u64Pause the sandbox after this much session inactivity.
provider_config: ValueProvider-specific extra configuration.
init: SessionSandboxInitConfigOptional one-time initialization commands executed after create.
Trait Implementations§
Source§impl Clone for SessionSandboxConfig
impl Clone for SessionSandboxConfig
Source§fn clone(&self) -> SessionSandboxConfig
fn clone(&self) -> SessionSandboxConfig
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 SessionSandboxConfig
impl Debug for SessionSandboxConfig
Source§impl Default for SessionSandboxConfig
impl Default for SessionSandboxConfig
Source§impl<'de> Deserialize<'de> for SessionSandboxConfig
impl<'de> Deserialize<'de> for SessionSandboxConfig
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 Eq for SessionSandboxConfig
Source§impl PartialEq for SessionSandboxConfig
impl PartialEq for SessionSandboxConfig
Source§fn eq(&self, other: &SessionSandboxConfig) -> bool
fn eq(&self, other: &SessionSandboxConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionSandboxConfig
impl Serialize for SessionSandboxConfig
impl StructuralPartialEq for SessionSandboxConfig
Auto Trait Implementations§
impl Freeze for SessionSandboxConfig
impl RefUnwindSafe for SessionSandboxConfig
impl Send for SessionSandboxConfig
impl Sync for SessionSandboxConfig
impl Unpin for SessionSandboxConfig
impl UnsafeUnpin for SessionSandboxConfig
impl UnwindSafe for SessionSandboxConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request