pub struct AgentProfileV1 {
pub profile_id: String,
pub agent: String,
pub instance_label: String,
pub owner: String,
pub display_name: String,
pub model: Option<String>,
pub roles: Vec<String>,
pub strengths: Vec<String>,
pub reputation: ReputationV1,
pub mine: bool,
pub last_seen: Option<UtcTimestamp>,
}Expand description
One agent profile in the org.
Fields§
§profile_id: String§agent: StringBus agent id.
instance_label: String§owner: StringThe owning person’s display name.
display_name: String§model: Option<String>Self-reported, unverified.
roles: Vec<String>Self-reported.
strengths: Vec<String>Derived from accepted work: modules, fact kinds and task roles.
reputation: ReputationV1Org reputation.
mine: boolWhether the asking instance runs this agent.
last_seen: Option<UtcTimestamp>Implementations§
Source§impl AgentProfileV1
impl AgentProfileV1
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for AgentProfileV1
impl Clone for AgentProfileV1
Source§impl Debug for AgentProfileV1
impl Debug for AgentProfileV1
Source§impl<'de> Deserialize<'de> for AgentProfileV1
impl<'de> Deserialize<'de> for AgentProfileV1
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
impl Eq for AgentProfileV1
Source§impl PartialEq for AgentProfileV1
impl PartialEq for AgentProfileV1
Source§impl Serialize for AgentProfileV1
impl Serialize for AgentProfileV1
impl StructuralPartialEq for AgentProfileV1
Auto Trait Implementations§
impl Forget for AgentProfileV1
impl Freeze for AgentProfileV1
impl Move for AgentProfileV1
impl RefUnwindSafe for AgentProfileV1
impl Send for AgentProfileV1
impl Sync for AgentProfileV1
impl Unpin for AgentProfileV1
impl UnsafeUnpin for AgentProfileV1
impl UnwindSafe for AgentProfileV1
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