pub struct AgentProfile {
pub id: AgentId,
pub name: String,
pub description: Option<String>,
pub avatar_url: Option<String>,
pub provider: Option<String>,
pub capabilities: Option<Vec<String>>,
pub service_endpoints: Option<Vec<ServiceEndpoint>>,
pub links: Option<Vec<ProfileLink>>,
pub delegations: Option<Vec<ProfileDelegationHint>>,
pub extra: Option<BTreeMap<String, Value>>,
pub updated_at: i64,
pub event_id: String,
}Expand description
The materialized profile document: the latest payload’s fields exactly as
signed, plus the service-derived updated_at and event_id.
Fields§
§id: AgentId§name: String§description: Option<String>§avatar_url: Option<String>§provider: Option<String>§capabilities: Option<Vec<String>>§service_endpoints: Option<Vec<ServiceEndpoint>>§links: Option<Vec<ProfileLink>>§delegations: Option<Vec<ProfileDelegationHint>>§extra: Option<BTreeMap<String, Value>>§updated_at: i64§event_id: StringTrait Implementations§
Source§impl Clone for AgentProfile
impl Clone for AgentProfile
Source§impl Debug for AgentProfile
impl Debug for AgentProfile
Source§impl<'de> Deserialize<'de> for AgentProfile
impl<'de> Deserialize<'de> for AgentProfile
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
Source§impl PartialEq for AgentProfile
impl PartialEq for AgentProfile
Source§impl Serialize for AgentProfile
impl Serialize for AgentProfile
impl StructuralPartialEq for AgentProfile
Auto Trait Implementations§
impl Freeze for AgentProfile
impl RefUnwindSafe for AgentProfile
impl Send for AgentProfile
impl Sync for AgentProfile
impl Unpin for AgentProfile
impl UnsafeUnpin for AgentProfile
impl UnwindSafe for AgentProfile
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