pub struct Soul {Show 17 fields
pub name: String,
pub description: String,
pub role: String,
pub personality: String,
pub prompt: String,
pub rules: Vec<String>,
pub tools: Vec<String>,
pub disallowed_tools: Vec<String>,
pub default_model: Option<String>,
pub default_autonomy: Option<String>,
pub permission_mode: Option<String>,
pub mcp_servers: Vec<String>,
pub max_turns: Option<u32>,
pub memory: Option<bool>,
pub background: bool,
pub isolation: Option<String>,
pub color: Option<String>,
}Fields§
§name: String§description: String§role: String§personality: String§prompt: String§rules: Vec<String>§tools: Vec<String>§disallowed_tools: Vec<String>§default_model: Option<String>§default_autonomy: Option<String>§permission_mode: Option<String>§mcp_servers: Vec<String>§max_turns: Option<u32>§memory: Option<bool>§background: bool§isolation: Option<String>§color: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Soul
impl<'de> Deserialize<'de> for Soul
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 Soul
impl RefUnwindSafe for Soul
impl Send for Soul
impl Sync for Soul
impl Unpin for Soul
impl UnsafeUnpin for Soul
impl UnwindSafe for Soul
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more