pub struct CommitResult {
pub commit_id: String,
pub message: String,
pub metadata: HashMap<String, String>,
pub ignored_artifacts: Vec<IgnoredArtifact>,
}Expand description
Result of a commit operation
Fields§
§commit_id: StringCommit identifier (hash, changelist number, etc.)
message: StringHuman-readable message
metadata: HashMap<String, String>Adapter-specific metadata
ignored_artifacts: Vec<IgnoredArtifact>Gitignored artifacts that were dropped from this commit (v0.13.17.5). Known-safe paths (.mcp.json, *.local.toml, .ta/ runtime files) are dropped silently; unexpected-ignored paths trigger a warning.
Trait Implementations§
Source§impl Clone for CommitResult
impl Clone for CommitResult
Source§fn clone(&self) -> CommitResult
fn clone(&self) -> CommitResult
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 CommitResult
impl Debug for CommitResult
Source§impl<'de> Deserialize<'de> for CommitResult
impl<'de> Deserialize<'de> for CommitResult
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
Auto Trait Implementations§
impl Freeze for CommitResult
impl RefUnwindSafe for CommitResult
impl Send for CommitResult
impl Sync for CommitResult
impl Unpin for CommitResult
impl UnsafeUnpin for CommitResult
impl UnwindSafe for CommitResult
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