pub struct GlobalSymbolId {
pub scheme: String,
pub package_manager: String,
pub package: String,
pub version: String,
pub descriptor: String,
}Expand description
Globally-unique symbol identity following the SCIP symbol scheme, so identity is stable
and unique across repos — the primitive that makes cross-repo ripple possible.
Rendered form: <scheme> <package_manager> <package> <version> <descriptor>
e.g. scip-python pip acme 1.4.0 acme/foo/bar().
Fields§
§scheme: StringIndexer scheme, e.g. scip-python, scip-typescript, comindly-treesitter.
package_manager: StringPackage manager, e.g. pip, npm, cargo, . when local/unmanaged.
package: StringPackage name, e.g. acme.
version: StringPackage version, . when unknown.
descriptor: StringSCIP descriptor path, e.g. acme/foo/bar()..
Implementations§
Trait Implementations§
Source§impl Clone for GlobalSymbolId
impl Clone for GlobalSymbolId
Source§impl Debug for GlobalSymbolId
impl Debug for GlobalSymbolId
Source§impl<'de> Deserialize<'de> for GlobalSymbolId
impl<'de> Deserialize<'de> for GlobalSymbolId
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
impl Eq for GlobalSymbolId
Source§impl Hash for GlobalSymbolId
impl Hash for GlobalSymbolId
Source§impl PartialEq for GlobalSymbolId
impl PartialEq for GlobalSymbolId
Source§impl Serialize for GlobalSymbolId
impl Serialize for GlobalSymbolId
impl StructuralPartialEq for GlobalSymbolId
Auto Trait Implementations§
impl Forget for GlobalSymbolId
impl Freeze for GlobalSymbolId
impl RefUnwindSafe for GlobalSymbolId
impl Send for GlobalSymbolId
impl Sync for GlobalSymbolId
impl Unpin for GlobalSymbolId
impl UnsafeUnpin for GlobalSymbolId
impl UnwindSafe for GlobalSymbolId
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