pub struct ProjectIdentity {
pub name: String,
pub repo_root: Utf8PathBuf,
pub kind: String,
pub host_os: String,
pub axiom_pin: Option<String>,
}Fields§
§name: String§repo_root: Utf8PathBuf§kind: StringFree-form classifier (“rust-workspace”, “ts-bun”, “polyglot”…). Set by the scanner, not the spec.
host_os: StringOperating-system host that produced the pack (“windows”, “linux”, “macos”).
axiom_pin: Option<String>Axiom algorithm pin (e.g. "v3.1.1-axiom"), if known. None when
axiom is unconfigured or the LATEST file isn’t readable.
#[serde(default)] keeps backward compatibility with pack.json files
produced before this field existed.
Trait Implementations§
Source§impl Clone for ProjectIdentity
impl Clone for ProjectIdentity
Source§fn clone(&self) -> ProjectIdentity
fn clone(&self) -> ProjectIdentity
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 ProjectIdentity
impl Debug for ProjectIdentity
Source§impl Default for ProjectIdentity
impl Default for ProjectIdentity
Source§fn default() -> ProjectIdentity
fn default() -> ProjectIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectIdentity
impl<'de> Deserialize<'de> for ProjectIdentity
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ProjectIdentity
impl RefUnwindSafe for ProjectIdentity
impl Send for ProjectIdentity
impl Sync for ProjectIdentity
impl Unpin for ProjectIdentity
impl UnsafeUnpin for ProjectIdentity
impl UnwindSafe for ProjectIdentity
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