pub struct SubAgentInfo {
pub id: String,
pub agent_type: String,
pub description: String,
pub state: String,
pub parent_id: Option<String>,
pub created_at: u64,
pub updated_at: u64,
pub current_activity: Option<SubAgentActivity>,
}Expand description
SubAgent 信息(元数据)
Fields§
§id: StringSubAgent ID
agent_type: StringAgent 类型
description: String任务描述
state: String当前状态
parent_id: Option<String>父 SubAgent ID
created_at: u64创建时间(Unix 时间戳,毫秒)
updated_at: u64最后更新时间(Unix 时间戳,毫秒)
current_activity: Option<SubAgentActivity>当前活动
Trait Implementations§
Source§impl Clone for SubAgentInfo
impl Clone for SubAgentInfo
Source§fn clone(&self) -> SubAgentInfo
fn clone(&self) -> SubAgentInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 SubAgentInfo
impl Debug for SubAgentInfo
Source§impl<'de> Deserialize<'de> for SubAgentInfo
impl<'de> Deserialize<'de> for SubAgentInfo
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
Auto Trait Implementations§
impl Freeze for SubAgentInfo
impl RefUnwindSafe for SubAgentInfo
impl Send for SubAgentInfo
impl Sync for SubAgentInfo
impl Unpin for SubAgentInfo
impl UnsafeUnpin for SubAgentInfo
impl UnwindSafe for SubAgentInfo
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