pub struct RustdocJson {
pub format_version: u32,
pub root: Value,
pub index: HashMap<String, Item>,
pub paths: HashMap<String, PathEntry>,
pub external_crates: HashMap<String, ExternalCrate>,
pub crate_version: Option<String>,
}Expand description
Top-level rustdoc JSON document (format version 57).
Fields§
§format_version: u32§root: ValueThe ID of the crate root item (integer in v57 JSON)
index: HashMap<String, Item>All items, keyed by their ID (string keys in JSON)
paths: HashMap<String, PathEntry>Path info for items, keyed by item ID (string keys in JSON)
external_crates: HashMap<String, ExternalCrate>External crates referenced
crate_version: Option<String>Crate name
Implementations§
Trait Implementations§
Source§impl Debug for RustdocJson
impl Debug for RustdocJson
Source§impl<'de> Deserialize<'de> for RustdocJson
impl<'de> Deserialize<'de> for RustdocJson
Source§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
Auto Trait Implementations§
impl Freeze for RustdocJson
impl RefUnwindSafe for RustdocJson
impl Send for RustdocJson
impl Sync for RustdocJson
impl Unpin for RustdocJson
impl UnsafeUnpin for RustdocJson
impl UnwindSafe for RustdocJson
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