pub struct AiCommitCheck {
pub commit: String,
pub passes: bool,
pub issues: Vec<AiIssue>,
pub suggestion: Option<AiSuggestion>,
}Expand description
Single commit check from AI response
Fields§
§commit: StringCommit hash (short or full)
passes: boolWhether the commit passes all checks
issues: Vec<AiIssue>List of issues found
suggestion: Option<AiSuggestion>Suggested message improvement
Trait Implementations§
Source§impl Clone for AiCommitCheck
impl Clone for AiCommitCheck
Source§fn clone(&self) -> AiCommitCheck
fn clone(&self) -> AiCommitCheck
Returns a duplicate of the value. Read more
1.0.0 · 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 AiCommitCheck
impl Debug for AiCommitCheck
Source§impl<'de> Deserialize<'de> for AiCommitCheck
impl<'de> Deserialize<'de> for AiCommitCheck
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 From<AiCommitCheck> for CommitCheckResult
impl From<AiCommitCheck> for CommitCheckResult
Source§fn from(ai: AiCommitCheck) -> Self
fn from(ai: AiCommitCheck) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AiCommitCheck
impl RefUnwindSafe for AiCommitCheck
impl Send for AiCommitCheck
impl Sync for AiCommitCheck
impl Unpin for AiCommitCheck
impl UnwindSafe for AiCommitCheck
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