pub struct AgentDetectionResult {
pub commit_hash: String,
pub has_agent: bool,
pub agent_signature: Option<String>,
}Expand description
Result of agent detection for a commit.
Fields§
§commit_hash: StringThe commit hash that was checked. Kept for debugging and future tooling.
has_agent: boolWhether an agent co-authorship was detected
agent_signature: Option<String>The agent signature found (if any)
Trait Implementations§
Source§impl Clone for AgentDetectionResult
impl Clone for AgentDetectionResult
Source§fn clone(&self) -> AgentDetectionResult
fn clone(&self) -> AgentDetectionResult
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 moreAuto Trait Implementations§
impl Freeze for AgentDetectionResult
impl RefUnwindSafe for AgentDetectionResult
impl Send for AgentDetectionResult
impl Sync for AgentDetectionResult
impl Unpin for AgentDetectionResult
impl UnwindSafe for AgentDetectionResult
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