pub struct HarnessNodeGitHistoryPageV1 {
pub origin: HarnessNodeWorkspaceOriginV1,
pub path: Option<HarnessRepositoryPathV1>,
pub commits: Vec<HarnessGitCommitV1>,
pub next_before: Option<HarnessGitObjectIdV1>,
pub truncated: bool,
}Expand description
Node-scoped sibling of HarnessRunGitHistoryPageV1.
Fields§
§origin: HarnessNodeWorkspaceOriginV1§path: Option<HarnessRepositoryPathV1>§commits: Vec<HarnessGitCommitV1>§next_before: Option<HarnessGitObjectIdV1>§truncated: boolImplementations§
Source§impl HarnessNodeGitHistoryPageV1
impl HarnessNodeGitHistoryPageV1
pub fn validate(&self) -> Result<(), HarnessOperatorApiError>
pub fn validate_for( &self, node_id: &str, workspace_id: &str, path: Option<&HarnessRepositoryPathV1>, limit: u16, ) -> Result<(), HarnessOperatorApiError>
Trait Implementations§
Source§impl Clone for HarnessNodeGitHistoryPageV1
impl Clone for HarnessNodeGitHistoryPageV1
Source§impl Debug for HarnessNodeGitHistoryPageV1
impl Debug for HarnessNodeGitHistoryPageV1
Source§impl<'de> Deserialize<'de> for HarnessNodeGitHistoryPageV1
impl<'de> Deserialize<'de> for HarnessNodeGitHistoryPageV1
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 HarnessNodeGitHistoryPageV1
impl StructuralPartialEq for HarnessNodeGitHistoryPageV1
Auto Trait Implementations§
impl Freeze for HarnessNodeGitHistoryPageV1
impl RefUnwindSafe for HarnessNodeGitHistoryPageV1
impl Send for HarnessNodeGitHistoryPageV1
impl Sync for HarnessNodeGitHistoryPageV1
impl Unpin for HarnessNodeGitHistoryPageV1
impl UnsafeUnpin for HarnessNodeGitHistoryPageV1
impl UnwindSafe for HarnessNodeGitHistoryPageV1
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