Struct rustdoc_types::ItemSummary [−][src]
Expand description
For external (not defined in the local crate) items, you don’t get the same level of information. This struct should contain enough to generate a link/reference to the item in question, or can be used by a tool that takes the json output of multiple crates to find the actual item definition with all the relevant info.
Fields
crate_id: u32Can be used to look up the name and html_root_url of the crate this item came from in the
external_crates map.
path: Vec<String>The list of path components for the fully qualified path of this item (e.g.
["std", "io", "lazy", "Lazy"] for std::io::lazy::Lazy).
kind: ItemKindWhether this item is a struct, trait, macro, etc.
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ItemSummaryimpl Send for ItemSummaryimpl Sync for ItemSummaryimpl Unpin for ItemSummaryimpl UnwindSafe for ItemSummaryBlanket Implementations
Mutably borrows from an owned value. Read more