pub struct ToolConfig {
pub tool_name: String,
pub tool_type: ToolType,
pub persona: Option<String>,
pub aliases: Vec<String>,
pub created_at: String,
}Fields§
§tool_name: String§tool_type: ToolType§persona: Option<String>§aliases: Vec<String>§created_at: StringTrait Implementations§
Source§impl Debug for ToolConfig
impl Debug for ToolConfig
Source§impl<'de> Deserialize<'de> for ToolConfig
impl<'de> Deserialize<'de> for ToolConfig
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 FromDomain<ToolConfig> for ToolConfigV3
impl FromDomain<ToolConfig> for ToolConfigV3
Source§fn from_domain(config: ToolConfig) -> Self
fn from_domain(config: ToolConfig) -> Self
Converts a domain model into this versioned format.
Source§impl IntoDomain<ToolConfig> for ToolConfigV3
impl IntoDomain<ToolConfig> for ToolConfigV3
Source§fn into_domain(self) -> ToolConfig
fn into_domain(self) -> ToolConfig
Converts this versioned data into the domain model.
Source§impl Queryable for ToolConfig
impl Queryable for ToolConfig
Source§const ENTITY_NAME: &'static str = "tool_config"
const ENTITY_NAME: &'static str = "tool_config"
The entity name used to look up migration paths in the
Migrator.Auto Trait Implementations§
impl Freeze for ToolConfig
impl RefUnwindSafe for ToolConfig
impl Send for ToolConfig
impl Sync for ToolConfig
impl Unpin for ToolConfig
impl UnwindSafe for ToolConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more