pub struct ToolConfigV3 {
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 ToolConfigV3
impl Debug for ToolConfigV3
Source§impl<'de> Deserialize<'de> for ToolConfigV3
impl<'de> Deserialize<'de> for ToolConfigV3
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 MigratesTo<ToolConfigV3> for ToolConfigV2
impl MigratesTo<ToolConfigV3> for ToolConfigV2
Source§fn migrate(self) -> ToolConfigV3
fn migrate(self) -> ToolConfigV3
Migrates from the current version to the target version.
Source§impl Serialize for ToolConfigV3
impl Serialize for ToolConfigV3
Source§impl Versioned for ToolConfigV3
impl Versioned for ToolConfigV3
Source§const VERSION_KEY: &'static str = "version"
const VERSION_KEY: &'static str = "version"
The key name for the version field in serialized data.
Defaults to “version”.
Auto Trait Implementations§
impl Freeze for ToolConfigV3
impl RefUnwindSafe for ToolConfigV3
impl Send for ToolConfigV3
impl Sync for ToolConfigV3
impl Unpin for ToolConfigV3
impl UnwindSafe for ToolConfigV3
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