pub struct Workspace {
pub name: String,
pub root: PathBuf,
pub sources: Vec<Source>,
pub health: WorkspaceHealth,
pub config: RepoProviderConfig,
pub agents: Vec<Agent>,
}Expand description
A managed workspace (root + its source checkouts) and the agents running under its single caliband.
Fields§
§name: StringRegistry key (operator-chosen short name).
root: PathBufCanonical workspace root path.
sources: Vec<Source>The source checkouts discovered under root (1..N). Filesystem-derived
at snapshot-build time, not persisted.
health: WorkspaceHealthHealth of the workspace’s caliband daemon.
config: RepoProviderConfigThe workspace’s provider config (so operators can read back what a workspace is configured with). Defaults to empty for workspaces with no config set.
agents: Vec<Agent>Agents currently known under this workspace.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workspace
impl<'de> Deserialize<'de> for Workspace
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 Workspace
impl StructuralPartialEq for Workspace
Auto Trait Implementations§
impl Freeze for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnsafeUnpin for Workspace
impl UnwindSafe for Workspace
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