pub struct ToolConfigV2 {
pub tool_name: String,
pub tool_type: ToolType,
pub persona: Option<String>,
pub created_at: String,
}Fields§
§tool_name: String§tool_type: ToolType§persona: Option<String>§created_at: StringTrait Implementations§
Source§impl Debug for ToolConfigV2
impl Debug for ToolConfigV2
Source§impl<'de> Deserialize<'de> for ToolConfigV2
impl<'de> Deserialize<'de> for ToolConfigV2
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 MigratesTo<ToolConfigV2> for ToolConfigV1
impl MigratesTo<ToolConfigV2> for ToolConfigV1
Source§fn migrate(self) -> ToolConfigV2
fn migrate(self) -> ToolConfigV2
Migrates from the current version to the target version.
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 ToolConfigV2
impl Serialize for ToolConfigV2
Source§impl Versioned for ToolConfigV2
impl Versioned for ToolConfigV2
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 ToolConfigV2
impl RefUnwindSafe for ToolConfigV2
impl Send for ToolConfigV2
impl Sync for ToolConfigV2
impl Unpin for ToolConfigV2
impl UnwindSafe for ToolConfigV2
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