pub struct RepoDirectory {
pub name: String,
pub path: String,
pub remote_url: Option<String>,
pub role: Option<String>,
pub is_anima_member: bool,
}Expand description
A registered repository: name ↔ location ↔ identity ↔ role.
The registry is global (not namespace-scoped) — it is the canonical ecosystem roster, admin-managed, readable by any authenticated principal.
Fields§
§name: StringCanonical name (primary key), e.g. Ijima, Kagome, Tsume.
path: StringCurrent filesystem location (mutable). Normalized without a trailing slash on write.
remote_url: Option<String>Stable identity: the git remote URL. More durable than path.
role: Option<String>Ecological role, e.g. tui-substrate, gateway-adapter, orchestrator.
is_anima_member: boolWhether this repo is part of the Anima ecosystem (the roster filter).
Implementations§
Trait Implementations§
Source§impl Clone for RepoDirectory
impl Clone for RepoDirectory
Source§fn clone(&self) -> RepoDirectory
fn clone(&self) -> RepoDirectory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RepoDirectory
impl Debug for RepoDirectory
impl Eq for RepoDirectory
Source§impl PartialEq for RepoDirectory
impl PartialEq for RepoDirectory
impl StructuralPartialEq for RepoDirectory
Auto Trait Implementations§
impl Freeze for RepoDirectory
impl RefUnwindSafe for RepoDirectory
impl Send for RepoDirectory
impl Sync for RepoDirectory
impl Unpin for RepoDirectory
impl UnsafeUnpin for RepoDirectory
impl UnwindSafe for RepoDirectory
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