pub struct RegistryAgent {
pub id: String,
pub name: String,
pub version: String,
pub description: String,
pub repository: Option<String>,
pub website: Option<String>,
pub authors: Vec<String>,
pub license: String,
pub icon: Option<String>,
pub distribution: AgentDistribution,
}Expand description
Published metadata for a single ACP agent entry in the registry.
Fields§
§id: StringUnique identifier for the published agent.
name: StringHuman-readable name for lists (list command sorting uses this).
version: StringSemantic version string describing the published agent release.
description: StringShort summary that surfaces in search and list output.
repository: Option<String>Repository URL that correlates with the source code or project page.
website: Option<String>Optional marketing or documentation website for the agent.
Author credits declared by the agent publisher.
license: StringSPDX or free-form license declaration.
icon: Option<String>Optional emoji or image URL used as an icon when rendering the CLI list.
distribution: AgentDistributionDistribution metadata to determine how the agent is installed/run.
Trait Implementations§
Source§impl Clone for RegistryAgent
impl Clone for RegistryAgent
Source§fn clone(&self) -> RegistryAgent
fn clone(&self) -> RegistryAgent
Returns a duplicate of the value. Read more
1.0.0 · 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 RegistryAgent
impl Debug for RegistryAgent
Source§impl<'de> Deserialize<'de> for RegistryAgent
impl<'de> Deserialize<'de> for RegistryAgent
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 PartialEq for RegistryAgent
impl PartialEq for RegistryAgent
Source§impl Serialize for RegistryAgent
impl Serialize for RegistryAgent
impl Eq for RegistryAgent
impl StructuralPartialEq for RegistryAgent
Auto Trait Implementations§
impl Freeze for RegistryAgent
impl RefUnwindSafe for RegistryAgent
impl Send for RegistryAgent
impl Sync for RegistryAgent
impl Unpin for RegistryAgent
impl UnsafeUnpin for RegistryAgent
impl UnwindSafe for RegistryAgent
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> 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.