pub struct LocaleSection {
pub label: String,
pub lang: String,
pub link: String,
pub title: Option<String>,
pub nav: Vec<NavSection>,
pub sidebars: BTreeMap<String, Vec<SidebarSection>>,
}Fields§
§label: String§lang: String§link: String§title: Option<String>Trait Implementations§
Source§impl Clone for LocaleSection
impl Clone for LocaleSection
Source§fn clone(&self) -> LocaleSection
fn clone(&self) -> LocaleSection
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 LocaleSection
impl Debug for LocaleSection
Source§impl Default for LocaleSection
impl Default for LocaleSection
Source§impl<'de> Deserialize<'de> for LocaleSectionwhere
LocaleSection: Default,
impl<'de> Deserialize<'de> for LocaleSectionwhere
LocaleSection: 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
Auto Trait Implementations§
impl Freeze for LocaleSection
impl RefUnwindSafe for LocaleSection
impl Send for LocaleSection
impl Sync for LocaleSection
impl Unpin for LocaleSection
impl UnsafeUnpin for LocaleSection
impl UnwindSafe for LocaleSection
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