Struct rustdoc_json_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: u32Expand description
Can 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>Expand description
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: ItemKindExpand description
Whether this item is a struct, trait, macro, etc.
Trait Implementations
impl Clone for ItemSummary[src]
impl Clone for ItemSummary[src]fn clone(&self) -> ItemSummary[src]
fn clone(&self) -> ItemSummary[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for ItemSummary[src]
impl Debug for ItemSummary[src]impl<'de> Deserialize<'de> for ItemSummary[src]
impl<'de> Deserialize<'de> for ItemSummary[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<ItemSummary> for ItemSummary[src]
impl PartialEq<ItemSummary> for ItemSummary[src]fn eq(&self, other: &ItemSummary) -> bool[src]
fn eq(&self, other: &ItemSummary) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &ItemSummary) -> bool[src]
fn ne(&self, other: &ItemSummary) -> bool[src]This method tests for !=.
impl Serialize for ItemSummary[src]
impl Serialize for ItemSummary[src]impl StructuralPartialEq for ItemSummary[src]
Auto Trait Implementations
impl RefUnwindSafe for ItemSummary
impl Send for ItemSummary
impl Sync for ItemSummary
impl Unpin for ItemSummary
impl UnwindSafe for ItemSummary
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,