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
Source§impl JsonSchema for Workspace
impl JsonSchema for Workspace
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl 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