pub struct ToolConfigV1 {
pub tool_name: String,
pub bin_path: String,
pub persona: Option<String>,
pub created_at: String,
}Fields§
§tool_name: String§bin_path: String§persona: Option<String>§created_at: StringTrait Implementations§
Source§impl Debug for ToolConfigV1
impl Debug for ToolConfigV1
Source§impl<'de> Deserialize<'de> for ToolConfigV1
impl<'de> Deserialize<'de> for ToolConfigV1
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 Serialize for ToolConfigV1
impl Serialize for ToolConfigV1
Source§impl Versioned for ToolConfigV1
impl Versioned for ToolConfigV1
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 ToolConfigV1
impl RefUnwindSafe for ToolConfigV1
impl Send for ToolConfigV1
impl Sync for ToolConfigV1
impl Unpin for ToolConfigV1
impl UnwindSafe for ToolConfigV1
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