MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / eq

Method eq

atomic-core/src/change/provenance/mod.rs:589–611  ·  view source on GitHub ↗
(&self, other: &Self)

Source from the content-addressed store, hash-verified

587
588impl PartialEq for Provenance {
589 fn eq(&self, other: &Self) -> bool {
590 self.vendor == other.vendor
591 && self.model == other.model
592 && self.model_version == other.model_version
593 && self.tool == other.tool
594 && self.suggestion_type == other.suggestion_type
595 && self.prompt == other.prompt
596 && self.system_prompt_hash == other.system_prompt_hash
597 && self.tokens == other.tokens
598 && self.cost == other.cost
599 && self.temperature == other.temperature
600 && self.timestamp == other.timestamp
601 && self.request_id == other.request_id
602 && self.session_id == other.session_id
603 && self.metadata == other.metadata
604 && self.agent_mode == other.agent_mode
605 && self.finish_reason == other.finish_reason
606 && self.step_count == other.step_count
607 && self.session_slug == other.session_slug
608 && self.reasoning_signature == other.reasoning_signature
609 && self.reasoning_text == other.reasoning_text
610 && self.task_plan == other.task_plan
611 }
612}
613
614impl Eq for Provenance {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected