pub struct SidebarConfig {
pub show: bool,
pub collapsible: bool,
pub default_collapsed: bool,
pub navigation_items: Vec<NavigationItem>,
pub plugin_panels: Vec<PluginPanel>,
}
Expand description
Sidebar configuration
Fields§
§show: bool
§collapsible: bool
§default_collapsed: bool
§plugin_panels: Vec<PluginPanel>
Trait Implementations§
Source§impl Clone for SidebarConfig
impl Clone for SidebarConfig
Source§fn clone(&self) -> SidebarConfig
fn clone(&self) -> SidebarConfig
Returns a copy 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 SidebarConfig
impl Debug for SidebarConfig
Source§impl Default for SidebarConfig
impl Default for SidebarConfig
Source§fn default() -> SidebarConfig
fn default() -> SidebarConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SidebarConfig
impl<'de> Deserialize<'de> for SidebarConfig
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 PartialEq for SidebarConfig
impl PartialEq for SidebarConfig
Source§impl Serialize for SidebarConfig
impl Serialize for SidebarConfig
impl StructuralPartialEq for SidebarConfig
Auto Trait Implementations§
impl Freeze for SidebarConfig
impl RefUnwindSafe for SidebarConfig
impl Send for SidebarConfig
impl Sync for SidebarConfig
impl Unpin for SidebarConfig
impl UnwindSafe for SidebarConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.