pub struct CommitMessageResult {
pub message: String,
pub success: bool,
pub _log_path: String,
pub generated_prompts: HashMap<String, String>,
}Expand description
Result of commit message generation.
Fields§
§message: StringThe generated commit message (may be empty on failure)
success: boolWhether the generation was successful
_log_path: StringPath to the agent log file for debugging (currently unused but kept for API compatibility)
generated_prompts: HashMap<String, String>Prompts that were generated during this commit generation (key -> prompt) This is used for capturing prompts in checkpoints for deterministic resume
Auto Trait Implementations§
impl Freeze for CommitMessageResult
impl RefUnwindSafe for CommitMessageResult
impl Send for CommitMessageResult
impl Sync for CommitMessageResult
impl Unpin for CommitMessageResult
impl UnwindSafe for CommitMessageResult
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more