pub struct WorkspacePolicy {
pub max_workspace_bytes: u64,
pub max_retained_workspaces: u32,
pub retain_failed_workspaces: bool,
pub workspace_cleanup_ttl_secs: u64,
}Expand description
Policy for workspace isolation during experiments.
Fields§
§max_workspace_bytes: u64Maximum bytes per workspace.
max_retained_workspaces: u32Maximum number of retained workspaces.
retain_failed_workspaces: boolWhether to retain workspaces from failed runs.
workspace_cleanup_ttl_secs: u64TTL in seconds for workspace cleanup.
Trait Implementations§
Source§impl Clone for WorkspacePolicy
impl Clone for WorkspacePolicy
Source§fn clone(&self) -> WorkspacePolicy
fn clone(&self) -> WorkspacePolicy
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 WorkspacePolicy
impl Debug for WorkspacePolicy
Source§impl Default for WorkspacePolicy
impl Default for WorkspacePolicy
Source§impl<'de> Deserialize<'de> for WorkspacePolicy
impl<'de> Deserialize<'de> for WorkspacePolicy
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
Auto Trait Implementations§
impl Freeze for WorkspacePolicy
impl RefUnwindSafe for WorkspacePolicy
impl Send for WorkspacePolicy
impl Sync for WorkspacePolicy
impl Unpin for WorkspacePolicy
impl UnsafeUnpin for WorkspacePolicy
impl UnwindSafe for WorkspacePolicy
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