pub struct ChangeSet {Show 17 fields
pub repo_id: RepoId,
pub checkout_id: CheckoutId,
pub worktree: NativePath,
pub git_common_dir: NativePath,
pub scope: ChangeScope,
pub checkout_head_ref: Option<String>,
pub checkout_head_sha: String,
pub base_ref: Option<String>,
pub head_ref: Option<String>,
pub head_sha: String,
pub staged_hash: String,
pub worktree_hash: String,
pub exact_diff_fingerprint: String,
pub workspace_manifest_hash: String,
pub contract_registry_hash: String,
pub analyzer_versions: AnalyzerVersions,
pub files: Vec<ChangedFile>,
}Expand description
Immutable, fingerprinted description of a repository change.
Fields§
§repo_id: RepoIdStable registered repository identity.
checkout_id: CheckoutIdStable concrete checkout identity.
worktree: NativePathCanonical, lossless worktree root.
git_common_dir: NativePathCanonical, lossless common Git directory.
scope: ChangeScopeRequested scope.
checkout_head_ref: Option<String>Symbolic checkout HEAD, when attached.
checkout_head_sha: StringCommit currently checked out before applying the requested scope.
base_ref: Option<String>Scope base ref or object ID, when applicable.
head_ref: Option<String>Scope head ref or object ID, when applicable.
head_sha: StringResolved commit for the scope head.
staged_hash: StringBLAKE3 hash of exact bounded staged Git output.
worktree_hash: StringBLAKE3 hash of exact bounded tracked and untracked worktree output.
exact_diff_fingerprint: StringBLAKE3 fingerprint of exact bounded Git output and identity metadata.
workspace_manifest_hash: StringWorkspace manifest fingerprint used by analysis.
contract_registry_hash: StringContract registry fingerprint used by analysis.
analyzer_versions: AnalyzerVersionsAnalyzer names and exact versions used by analysis.
files: Vec<ChangedFile>Deterministically ordered changed files.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChangeSet
impl<'de> Deserialize<'de> for ChangeSet
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>,
impl Eq for ChangeSet
Source§impl From<&ChangeSet> for ChangeValidityInput
impl From<&ChangeSet> for ChangeValidityInput
Source§impl JsonSchema for ChangeSet
impl JsonSchema for ChangeSet
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for ChangeSet
Auto Trait Implementations§
impl Freeze for ChangeSet
impl RefUnwindSafe for ChangeSet
impl Send for ChangeSet
impl Sync for ChangeSet
impl Unpin for ChangeSet
impl UnsafeUnpin for ChangeSet
impl UnwindSafe for ChangeSet
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.