pub struct Topic {
pub id: String,
pub title: String,
}Expand description
A named section of one command’s help page.
id is a deterministic, command-local spelling suitable for tool help <id> and completion;
title is the heading users see. Topics include the ordinary Commands, Arguments, Flags,
and Global flags sections plus every declared help_heading group that has visible entries.
Fields§
§id: String§title: StringTrait Implementations§
impl Eq for Topic
impl StructuralPartialEq for Topic
Auto Trait Implementations§
impl Freeze for Topic
impl RefUnwindSafe for Topic
impl Send for Topic
impl Sync for Topic
impl Unpin for Topic
impl UnsafeUnpin for Topic
impl UnwindSafe for Topic
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