pub struct Section {
pub meta: Meta,
pub scope: String,
pub parent: Option<String>,
pub after: Option<String>,
pub before: Option<String>,
pub groups: Vec<Group>,
}Expand description
An entry of the left panel and the page it shows, inside a scope.
Fields§
§meta: Meta§scope: StringThe scope it is in (its id).
parent: Option<String>A section it sits under (one level, no deeper).
after: Option<String>Placed right after this section of its scope (scope/section, or
the section’s id alone), whichever manifest declares it; resolved
once every manifest is merged. Wins over before.
before: Option<String>Placed right before this section of its scope.
groups: Vec<Group>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Section
impl<'de> Deserialize<'de> for Section
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
impl StructuralPartialEq for Section
Auto Trait Implementations§
impl Freeze for Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnsafeUnpin for Section
impl UnwindSafe for Section
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