pub struct Mate {
pub name: String,
pub introduce: String,
pub system_prompt: String,
pub sort: Option<i32>,
}Expand description
A sub-agent assigned to a team agent.
Fields§
§name: String§introduce: String§system_prompt: String§sort: Option<i32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Mate
impl<'de> Deserialize<'de> for Mate
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 Mate
impl RefUnwindSafe for Mate
impl Send for Mate
impl Sync for Mate
impl Unpin for Mate
impl UnsafeUnpin for Mate
impl UnwindSafe for Mate
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