pub struct ConnectedObject<'a> {
pub node: &'a Node,
pub kind: &'a str,
pub form: Form,
pub id: Option<&'a str>,
pub title: Option<&'a str>,
pub description: Option<&'a str>,
pub src: Option<&'a str>,
pub endpoint: Option<&'a str>,
pub attrs: &'a Attrs,
pub body: Option<&'a str>,
pub location: Location<'a>,
}Expand description
A connected object (§10): a person, role, skill, MCP server, tool, agent, service, source or resource the document declares.
Fields§
§node: &'a Node§kind: &'a str§form: Formcontainer or leaf.
id: Option<&'a str>§title: Option<&'a str>§description: Option<&'a str>§src: Option<&'a str>What it is or where it is found: a URL, a relative path, a registry record (src).
endpoint: Option<&'a str>An A2A agent’s interface URL (endpoint).
attrs: &'a AttrsEvery attribute as read, these included: tools, allow, deny, registry, server, account (mcp);
protocol, binding, tenant, skills (agent); trigger (skill); server, name (tool); role…
body: Option<&'a str>A container’s body as written (Node::body_source): its usage guidance.
location: Location<'a>Implementations§
Trait Implementations§
Source§impl<'a> Clone for ConnectedObject<'a>
impl<'a> Clone for ConnectedObject<'a>
Source§impl<'a> Debug for ConnectedObject<'a>
impl<'a> Debug for ConnectedObject<'a>
Source§impl<'a> PartialEq for ConnectedObject<'a>
impl<'a> PartialEq for ConnectedObject<'a>
impl<'a> StructuralPartialEq for ConnectedObject<'a>
Auto Trait Implementations§
impl<'a> Forget for ConnectedObject<'a>
impl<'a> Freeze for ConnectedObject<'a>
impl<'a> Move for ConnectedObject<'a>
impl<'a> RefUnwindSafe for ConnectedObject<'a>
impl<'a> Send for ConnectedObject<'a>
impl<'a> Sync for ConnectedObject<'a>
impl<'a> Unpin for ConnectedObject<'a>
impl<'a> UnsafeUnpin for ConnectedObject<'a>
impl<'a> UnwindSafe for ConnectedObject<'a>
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