pub struct Level0Config {
pub module_id: String,
pub module_label: String,
pub module_icon: String,
pub sidebar_position: String,
pub sidebar_order: u32,
pub panel_entry: String,
}Expand description
Level 0 — The plugin adds a new top-level module to the sidebar.
Fields§
§module_id: StringUnique module ID (must not collide with “devkit”, “aichat”, “settings”).
module_label: String§module_icon: StringLucide icon name.
“main” = above the settings divider; “bottom” = below it.
Lower = higher up. Defaults to 100.
panel_entry: StringPath inside the package to the JS bundle for this module’s panel.
Trait Implementations§
Source§impl Clone for Level0Config
impl Clone for Level0Config
Source§fn clone(&self) -> Level0Config
fn clone(&self) -> Level0Config
Returns a duplicate of the value. Read more
1.0.0 · 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 Level0Config
impl Debug for Level0Config
Source§impl<'de> Deserialize<'de> for Level0Config
impl<'de> Deserialize<'de> for Level0Config
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 Level0Config
impl RefUnwindSafe for Level0Config
impl Send for Level0Config
impl Sync for Level0Config
impl Unpin for Level0Config
impl UnsafeUnpin for Level0Config
impl UnwindSafe for Level0Config
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