pub struct WorkspaceSpec {
pub path: Option<String>,
pub store: String,
pub artifact_ref: Option<String>,
pub auth: Option<SecretRef>,
pub snapshot_interval_secs: Option<u64>,
}Expand description
vm.workspace, mirrored read-only like MountSpec.
Fields§
§path: Option<String>Defaults to /workspace server-side.
store: String§artifact_ref: Option<String>§auth: Option<SecretRef>§snapshot_interval_secs: Option<u64>Recycle the replica for a snapshot at least this often. Unset: only when it retires for another reason.
Trait Implementations§
Source§impl Clone for WorkspaceSpec
impl Clone for WorkspaceSpec
Source§impl Debug for WorkspaceSpec
impl Debug for WorkspaceSpec
Source§impl Default for WorkspaceSpec
impl Default for WorkspaceSpec
Source§impl<'de> Deserialize<'de> for WorkspaceSpecwhere
WorkspaceSpec: Default,
impl<'de> Deserialize<'de> for WorkspaceSpecwhere
WorkspaceSpec: Default,
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 WorkspaceSpec
impl RefUnwindSafe for WorkspaceSpec
impl Send for WorkspaceSpec
impl Sync for WorkspaceSpec
impl Unpin for WorkspaceSpec
impl UnsafeUnpin for WorkspaceSpec
impl UnwindSafe for WorkspaceSpec
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