pub struct Docs<'a> {
pub name: Cow<'a, str>,
pub docs: Cow<'a, str>,
pub cfg: Cfg,
pub i18n: I18n<'a>,
pub options: Option<Vec<Cow<'a, Option<'a>>>>,
pub commands: Option<Vec<Cow<'a, Cmd<'a>>>>,
pub project: Option<Project<'a>>,
}
Expand description
§Documentation
Fields§
§name: Cow<'a, str>
§Name
docs: Cow<'a, str>
§Documentation
cfg: Cfg
§Configuration
i18n: I18n<'a>
§Internatinonalization
options: Option<Vec<Cow<'a, Option<'a>>>>
§Options
commands: Option<Vec<Cow<'a, Cmd<'a>>>>
§Commands
project: Option<Project<'a>>
§Project
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Docs<'a>
impl<'a> RefUnwindSafe for Docs<'a>
impl<'a> Send for Docs<'a>
impl<'a> Sync for Docs<'a>
impl<'a> Unpin for Docs<'a>
impl<'a> UnwindSafe for Docs<'a>
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