pub struct Level1Config {
pub parent_module: String,
pub tab_id: String,
pub tab_label: String,
pub tab_icon: String,
pub tab_position: Option<String>,
pub panel_entry: String,
}Expand description
Level 1 — The plugin adds a feature tab to an existing module.
Fields§
§parent_module: StringTarget module: “devkit”, “aichat”, or a plugin module_id.
tab_id: StringUnique tab ID within the parent module.
tab_label: String§tab_icon: StringLucide icon name.
tab_position: Option<String>“after:snippet” | “before:summary” | “index:5”
panel_entry: StringPath inside the package to the JS bundle for this tab’s panel.
Trait Implementations§
Source§impl Clone for Level1Config
impl Clone for Level1Config
Source§fn clone(&self) -> Level1Config
fn clone(&self) -> Level1Config
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 Level1Config
impl Debug for Level1Config
Source§impl<'de> Deserialize<'de> for Level1Config
impl<'de> Deserialize<'de> for Level1Config
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 Level1Config
impl RefUnwindSafe for Level1Config
impl Send for Level1Config
impl Sync for Level1Config
impl Unpin for Level1Config
impl UnsafeUnpin for Level1Config
impl UnwindSafe for Level1Config
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