pub struct HarnessNodeWorkspaceInspectionV1 {
pub origin: HarnessNodeWorkspaceOriginV1,
pub entries: Vec<HarnessWorkspaceTreeEntryV1>,
pub tree_truncated: bool,
pub git: HarnessGitSummaryV1,
pub truncation: Option<HarnessWorkspaceInspectionTruncationV1>,
}Expand description
Node-scoped sibling of HarnessRunWorkspaceInspectionV1.
Fields§
§origin: HarnessNodeWorkspaceOriginV1§entries: Vec<HarnessWorkspaceTreeEntryV1>§tree_truncated: bool§git: HarnessGitSummaryV1§truncation: Option<HarnessWorkspaceInspectionTruncationV1>Implementations§
Source§impl HarnessNodeWorkspaceInspectionV1
impl HarnessNodeWorkspaceInspectionV1
pub fn validate(&self) -> Result<(), HarnessOperatorApiError>
pub fn validate_for( &self, node_id: &str, workspace_id: &str, ) -> Result<(), HarnessOperatorApiError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HarnessNodeWorkspaceInspectionV1
impl<'de> Deserialize<'de> for HarnessNodeWorkspaceInspectionV1
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 HarnessNodeWorkspaceInspectionV1
impl StructuralPartialEq for HarnessNodeWorkspaceInspectionV1
Auto Trait Implementations§
impl Freeze for HarnessNodeWorkspaceInspectionV1
impl RefUnwindSafe for HarnessNodeWorkspaceInspectionV1
impl Send for HarnessNodeWorkspaceInspectionV1
impl Sync for HarnessNodeWorkspaceInspectionV1
impl Unpin for HarnessNodeWorkspaceInspectionV1
impl UnsafeUnpin for HarnessNodeWorkspaceInspectionV1
impl UnwindSafe for HarnessNodeWorkspaceInspectionV1
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