pub struct ToolMeta {Show 16 fields
pub id: String,
pub type: ToolType,
pub name: String,
pub source_repo: Option<String>,
pub install_path: Option<String>,
pub description: Option<String>,
pub long_description: Option<String>,
pub category: Option<String>,
pub triggers: Vec<String>,
pub examples: Vec<Value>,
pub invocation: Option<String>,
pub requires: Vec<String>,
pub enabled: bool,
pub added_at: DateTime<Utc>,
pub last_seen_at: DateTime<Utc>,
pub last_used_at: Option<DateTime<Utc>>,
}Fields§
§id: String§type: ToolType§name: String§source_repo: Option<String>§install_path: Option<String>§description: Option<String>§long_description: Option<String>§category: Option<String>§triggers: Vec<String>§examples: Vec<Value>§invocation: Option<String>§requires: Vec<String>§enabled: bool§added_at: DateTime<Utc>§last_seen_at: DateTime<Utc>§last_used_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolMeta
impl<'de> Deserialize<'de> for ToolMeta
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 ToolMeta
impl RefUnwindSafe for ToolMeta
impl Send for ToolMeta
impl Sync for ToolMeta
impl Unpin for ToolMeta
impl UnsafeUnpin for ToolMeta
impl UnwindSafe for ToolMeta
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