pub struct AgentRegistrationFile {
pub type_url: String,
pub name: String,
pub description: String,
pub image: String,
pub services: Vec<AgentServiceEndpoint>,
pub x402_support: bool,
pub active: bool,
pub registrations: Vec<AgentRegistrationRef>,
pub supported_trust: Option<Vec<String>>,
}Expand description
Agent registration file (off-chain JSON referenced by agentURI).
Fields§
§type_url: String§name: String§description: String§image: String§services: Vec<AgentServiceEndpoint>§x402_support: bool§active: bool§registrations: Vec<AgentRegistrationRef>§supported_trust: Option<Vec<String>>Trait Implementations§
Source§impl Clone for AgentRegistrationFile
impl Clone for AgentRegistrationFile
Source§fn clone(&self) -> AgentRegistrationFile
fn clone(&self) -> AgentRegistrationFile
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 moreSource§impl Debug for AgentRegistrationFile
impl Debug for AgentRegistrationFile
Source§impl<'de> Deserialize<'de> for AgentRegistrationFile
impl<'de> Deserialize<'de> for AgentRegistrationFile
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentRegistrationFile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentRegistrationFile, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AgentRegistrationFile
impl Serialize for AgentRegistrationFile
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AgentRegistrationFile
impl RefUnwindSafe for AgentRegistrationFile
impl Send for AgentRegistrationFile
impl Sync for AgentRegistrationFile
impl Unpin for AgentRegistrationFile
impl UnsafeUnpin for AgentRegistrationFile
impl UnwindSafe for AgentRegistrationFile
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