pub enum HarnessGitDiffModeV1 {
Working,
Staged,
Commit {
revision: HarnessGitObjectIdV1,
},
}Variants§
Implementations§
Source§impl HarnessGitDiffModeV1
impl HarnessGitDiffModeV1
pub fn validate(&self) -> Result<(), HarnessOperatorApiError>
Trait Implementations§
Source§impl Clone for HarnessGitDiffModeV1
impl Clone for HarnessGitDiffModeV1
Source§impl Debug for HarnessGitDiffModeV1
impl Debug for HarnessGitDiffModeV1
Source§impl<'de> Deserialize<'de> for HarnessGitDiffModeV1
impl<'de> Deserialize<'de> for HarnessGitDiffModeV1
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 HarnessGitDiffModeV1
Source§impl PartialEq for HarnessGitDiffModeV1
impl PartialEq for HarnessGitDiffModeV1
Source§impl Serialize for HarnessGitDiffModeV1
impl Serialize for HarnessGitDiffModeV1
impl StructuralPartialEq for HarnessGitDiffModeV1
Auto Trait Implementations§
impl Freeze for HarnessGitDiffModeV1
impl RefUnwindSafe for HarnessGitDiffModeV1
impl Send for HarnessGitDiffModeV1
impl Sync for HarnessGitDiffModeV1
impl Unpin for HarnessGitDiffModeV1
impl UnsafeUnpin for HarnessGitDiffModeV1
impl UnwindSafe for HarnessGitDiffModeV1
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