pub struct WorktreeRegistration {Show 14 fields
pub registration_id: i64,
pub alias: WorktreeAlias,
pub state: WorktreeRegistrationState,
pub git_common_directory: String,
pub git_common_directory_identity: CanonicalProjectRoot,
pub git_administrative_directory: String,
pub git_administrative_directory_identity: CanonicalProjectRoot,
pub git_administrative_identity: String,
pub last_root: String,
pub last_root_identity: CanonicalProjectRoot,
pub project_instance_id: Option<ProjectInstanceId>,
pub accepted_telemetry_revision: u64,
pub created_at_epoch: u64,
pub retired_at_epoch: Option<u64>,
}Expand description
One active or retired ProjectAtlas worktree registration.
Fields§
§registration_id: i64Stable control-database row identity.
alias: WorktreeAliasHuman/agent-facing short selector.
state: WorktreeRegistrationStateWhether the selector remains active.
git_common_directory: StringUTF-8 compatibility projection of the Git common directory. The native identity field beside it is authoritative for routing and persistence.
git_common_directory_identity: CanonicalProjectRootLossless native identity authority for the Git common directory.
git_administrative_directory: StringUTF-8 compatibility projection of the administrative directory. The native identity field beside it is authoritative.
git_administrative_directory_identity: CanonicalProjectRootLossless native identity authority for the administrative directory.
git_administrative_identity: StringOpaque identity for the current administrative-directory lifecycle.
last_root: StringUTF-8 compatibility projection of the last source root. The native identity field beside it is authoritative.
last_root_identity: CanonicalProjectRootLossless native identity authority for the source root.
project_instance_id: Option<ProjectInstanceId>Exact worktree atlas identity after initialization.
accepted_telemetry_revision: u64Last local aggregate revision accepted by the control atlas.
created_at_epoch: u64Creation time as Unix epoch seconds.
retired_at_epoch: Option<u64>Retirement time as Unix epoch seconds.
Trait Implementations§
Source§impl Clone for WorktreeRegistration
impl Clone for WorktreeRegistration
Source§fn clone(&self) -> WorktreeRegistration
fn clone(&self) -> WorktreeRegistration
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WorktreeRegistration
impl Debug for WorktreeRegistration
impl Eq for WorktreeRegistration
Source§impl PartialEq for WorktreeRegistration
impl PartialEq for WorktreeRegistration
Source§fn eq(&self, other: &WorktreeRegistration) -> bool
fn eq(&self, other: &WorktreeRegistration) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorktreeRegistration
Auto Trait Implementations§
impl Freeze for WorktreeRegistration
impl RefUnwindSafe for WorktreeRegistration
impl Send for WorktreeRegistration
impl Sync for WorktreeRegistration
impl Unpin for WorktreeRegistration
impl UnsafeUnpin for WorktreeRegistration
impl UnwindSafe for WorktreeRegistration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.