Skip to main content Crate distri_a2a Copy item path Source APIKeySecurityScheme An API key-based security scheme. AgentCapabilities Defines the agent’s supported features and extensions. AgentCard Describes an agent’s capabilities, skills, and metadata, serving as a public profile.
See: https://google.github.io/A2A/specification/#agentcard-object-structure AgentExtension Describes a custom extension supported by the agent. AgentProvider Provides information about the organization or individual that created the agent. AgentSkill Describes a specific skill or capability of the agent. Artifact An artifact produced by a task. AuthorizationCodeOAuthFlow The authorization code OAuth2 flow. ClientCredentialsOAuthFlow The client credentials OAuth2 flow. DataPart A data part of a message, containing arbitrary JSON data. FilePart A file part of a message. HTTPAuthSecurityScheme An HTTP authentication-based security scheme. ImplicitOAuthFlow The implicit OAuth2 flow. JsonRpcError A JSON-RPC error object. JsonRpcRequest A JSON-RPC request object. JsonRpcResponse A JSON-RPC response object. JsonRpcResponseFor Typed read-side view of a JSON-RPC response, parameterized over the
result payload T (e.g. SendMessageResult ). JsonRpcResponse is
write-only — servers build it from a serde_json::Value result; this is
its deserialize counterpart so clients decode straight into typed values
instead of hand-poking serde_json::Value. Reusable across every A2A
method (message/send, tasks/get, tasks/cancel, …). Message A message exchanged between a user and an agent. MessageSendConfiguration Configuration for sending a message. MessageSendParams Parameters for the message/send method. OAuth2SecurityScheme An OAuth2-based security scheme. OAuthFlows Defines the OAuth2 flows. OpenIdConnectSecurityScheme An OpenID Connect-based security scheme. PasswordOAuthFlow The password-based OAuth2 flow. PushNotificationConfig Configuration for push notifications. Task Represents a task being executed by the agent. TaskArtifactUpdateEvent Task Artifact Update Event - sent during streaming TaskIdParams Parameters for methods that operate on a task by its ID. TaskStatus The status of a task. TaskStatusBroadcastEvent Event for broadcasting task status changes TaskStatusUpdateEvent Task Status Update Event - sent during streaming TextPart A text part of a message. EventKind FileObject A file object, which can be represented by a URI or by its raw bytes. MessageKind Part A part of a message. Role The role of the message sender. SecurityScheme Defines a security scheme for authenticating with the agent. SendMessageResult The result of a message/send JSON-RPC response
(spec SendMessageSuccessResponse.result, anyOf: [Task, Message]). TaskState The state of a task. A2A_VERSION Represents the Agent-to-Agent (A2A) specification version.