pub struct Topic {
pub name: &'static str,
pub summary: &'static str,
pub aliases: &'static [&'static str],
pub text: &'static str,
}Expand description
One doc.
Fields§
§name: &'static strWhat the model passes as topic.
summary: &'static strOne line for the topic list.
aliases: &'static [&'static str]Other words that pick it (topic: "gmail" is the mail doc).
text: &'static strThe Markdown (from docs/, written by cargo xtask help-docs).
Auto Trait Implementations§
impl Forget for Topic
impl Freeze for Topic
impl Move 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