pub struct DiskArtifactConfig {
pub id: LibraryArtifactId,
pub name: String,
pub description: String,
pub version: String,
pub plugin_id: PluginId,
pub mcp_tools: Vec<String>,
pub enabled: bool,
pub starred: bool,
pub file: String,
}Fields§
§id: LibraryArtifactId§name: String§description: String§version: String§plugin_id: PluginId§mcp_tools: Vec<String>§enabled: bool§starred: bool§file: StringImplementations§
Source§impl DiskArtifactConfig
impl DiskArtifactConfig
pub fn content_file(&self) -> &str
Trait Implementations§
Source§impl Clone for DiskArtifactConfig
impl Clone for DiskArtifactConfig
Source§fn clone(&self) -> DiskArtifactConfig
fn clone(&self) -> DiskArtifactConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiskArtifactConfig
impl Debug for DiskArtifactConfig
Source§impl<'de> Deserialize<'de> for DiskArtifactConfig
impl<'de> Deserialize<'de> for DiskArtifactConfig
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 DiskArtifactConfig
impl RefUnwindSafe for DiskArtifactConfig
impl Send for DiskArtifactConfig
impl Sync for DiskArtifactConfig
impl Unpin for DiskArtifactConfig
impl UnsafeUnpin for DiskArtifactConfig
impl UnwindSafe for DiskArtifactConfig
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