pub struct SidebarConfig {
pub sections: Vec<SidebarSection>,
pub footer: Option<SidebarFooter>,
pub org_switcher: Option<OrgSwitcherConfig>,
pub collapsible: Option<bool>,
}Fields§
§sections: Vec<SidebarSection>§org_switcher: Option<OrgSwitcherConfig>§collapsible: Option<bool>Trait Implementations§
Source§impl Clone for SidebarConfig
impl Clone for SidebarConfig
Source§fn clone(&self) -> SidebarConfig
fn clone(&self) -> SidebarConfig
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 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 SidebarConfigwhere
SidebarConfig: Default,
impl<'de> Deserialize<'de> for SidebarConfigwhere
SidebarConfig: Default,
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 UnsafeUnpin 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