pub struct SkillEntry {
pub skill: AgentSkill,
pub agent_url: String,
}Expand description
An indexed skill and the agent that offers it (P2-9).
Fields§
§skill: AgentSkillThe advertised skill.
agent_url: StringThe agent that offers this skill.
Implementations§
Source§impl SkillEntry
impl SkillEntry
Sourcepub fn new(skill: AgentSkill, agent_url: impl Into<String>) -> Self
pub fn new(skill: AgentSkill, agent_url: impl Into<String>) -> Self
Create an index entry.
Trait Implementations§
Source§impl Clone for SkillEntry
impl Clone for SkillEntry
Source§fn clone(&self) -> SkillEntry
fn clone(&self) -> SkillEntry
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 moreAuto Trait Implementations§
impl Freeze for SkillEntry
impl RefUnwindSafe for SkillEntry
impl Send for SkillEntry
impl Sync for SkillEntry
impl Unpin for SkillEntry
impl UnsafeUnpin for SkillEntry
impl UnwindSafe for SkillEntry
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