pub struct WorkspaceInfo {
pub name: String,
pub display_name: Option<String>,
pub sources: Vec<WorkspaceSourceSpec>,
pub providers: Vec<ProviderInfo>,
pub default_provider: Option<String>,
pub status: Option<WorkspaceStatusInfo>,
}Expand description
A workspace as seen by the config plane’s read side: the persisted
configuration plus reconciliation status. Returned by
FleetAdmin::list_workspaces and merged into GET /api/workspaces so a
configured-but-agentless workspace is still visible with its status.
Fields§
§name: StringWorkspace object name (agents bind it via workspaceRef).
display_name: Option<String>Human-friendly display label, if set.
sources: Vec<WorkspaceSourceSpec>The workspace’s source checkouts.
providers: Vec<ProviderInfo>Named providers agents can bind to.
default_provider: Option<String>Provider bound when an agent requests none.
status: Option<WorkspaceStatusInfo>Reconciliation status, if the backend reports one.
Trait Implementations§
Source§impl Clone for WorkspaceInfo
impl Clone for WorkspaceInfo
Source§fn clone(&self) -> WorkspaceInfo
fn clone(&self) -> WorkspaceInfo
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 WorkspaceInfo
impl Debug for WorkspaceInfo
Source§impl<'de> Deserialize<'de> for WorkspaceInfo
impl<'de> Deserialize<'de> for WorkspaceInfo
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
Source§impl PartialEq for WorkspaceInfo
impl PartialEq for WorkspaceInfo
Source§fn eq(&self, other: &WorkspaceInfo) -> bool
fn eq(&self, other: &WorkspaceInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkspaceInfo
impl Serialize for WorkspaceInfo
impl Eq for WorkspaceInfo
impl StructuralPartialEq for WorkspaceInfo
Auto Trait Implementations§
impl Freeze for WorkspaceInfo
impl RefUnwindSafe for WorkspaceInfo
impl Send for WorkspaceInfo
impl Sync for WorkspaceInfo
impl Unpin for WorkspaceInfo
impl UnsafeUnpin for WorkspaceInfo
impl UnwindSafe for WorkspaceInfo
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