pub enum RegistrySource {
OfficialMcp,
Smithery,
Glama,
Github,
Git,
Pakx,
}Expand description
Source registry that produced an entry. git and github are direct
fetches (no intermediary index); the others are federated public APIs
queried by the registry-client in v0.1.
Variants§
OfficialMcp
Smithery
Glama
Github
Git
Pakx
The pakx-registry backend (registry.pakx.dev) — first-party federated source for packages published through the CLI.
Implementations§
Source§impl RegistrySource
impl RegistrySource
Sourcepub const fn as_tag(self) -> &'static str
pub const fn as_tag(self) -> &'static str
Stable kebab-case tag. Matches the serde representation (so a
round-trip through serde_json / serde_yaml_ng produces the
same string), but available without serializing. Used by the CLI
for human + JSON output and is part of the documented JSON
contract — only add new variants, never rename existing ones.
Trait Implementations§
Source§impl Clone for RegistrySource
impl Clone for RegistrySource
Source§fn clone(&self) -> RegistrySource
fn clone(&self) -> RegistrySource
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 RegistrySource
impl Debug for RegistrySource
Source§impl<'de> Deserialize<'de> for RegistrySource
impl<'de> Deserialize<'de> for RegistrySource
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
Source§impl Hash for RegistrySource
impl Hash for RegistrySource
Source§impl Ord for RegistrySource
impl Ord for RegistrySource
Source§fn cmp(&self, other: &RegistrySource) -> Ordering
fn cmp(&self, other: &RegistrySource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RegistrySource
impl PartialEq for RegistrySource
Source§fn eq(&self, other: &RegistrySource) -> bool
fn eq(&self, other: &RegistrySource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RegistrySource
impl PartialOrd for RegistrySource
Source§impl Serialize for RegistrySource
impl Serialize for RegistrySource
impl Copy for RegistrySource
impl Eq for RegistrySource
impl StructuralPartialEq for RegistrySource
Auto Trait Implementations§
impl Freeze for RegistrySource
impl RefUnwindSafe for RegistrySource
impl Send for RegistrySource
impl Sync for RegistrySource
impl Unpin for RegistrySource
impl UnsafeUnpin for RegistrySource
impl UnwindSafe for RegistrySource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
Compare self to
key and return true if they are equal.