pub struct NodeSummary {
pub key: String,
pub kind: String,
pub name: String,
pub path: Option<String>,
pub lang: Option<String>,
}Expand description
A compact node summary (used in listings and as the subject of an
Explanation).
Fields§
§key: StringNatural key.
kind: StringKind token (e.g. fn, adr).
name: StringHuman-facing name.
path: Option<String>Repository-relative path, if any.
lang: Option<String>Language token, if any.
Trait Implementations§
Source§impl Clone for NodeSummary
impl Clone for NodeSummary
Source§fn clone(&self) -> NodeSummary
fn clone(&self) -> NodeSummary
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 NodeSummary
impl Debug for NodeSummary
Source§impl PartialEq for NodeSummary
impl PartialEq for NodeSummary
Source§impl Serialize for NodeSummary
impl Serialize for NodeSummary
impl StructuralPartialEq for NodeSummary
Auto Trait Implementations§
impl Freeze for NodeSummary
impl RefUnwindSafe for NodeSummary
impl Send for NodeSummary
impl Sync for NodeSummary
impl Unpin for NodeSummary
impl UnsafeUnpin for NodeSummary
impl UnwindSafe for NodeSummary
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