pub struct RegistrySource {
pub name: String,
pub url: String,
pub priority: u32,
pub enabled: bool,
}Expand description
A remote skill registry that the agent can sync from.
Fields§
§name: StringHuman-readable name, used as the namespace prefix for remote skills
(e.g. "community" → skills namespaced as community/skill_name).
url: StringURL of the registry manifest (JSON endpoint).
priority: u32Priority for conflict resolution: higher wins when two registries publish a skill with the same name. Range: 0–100.
enabled: boolWhether this registry is actively synced.
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 · 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
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