pub struct Item {Show 14 fields
pub id: ItemId,
pub name: Option<String>,
pub path: Vec<String>,
pub visibility: Visibility,
pub source: Option<SourceLocation>,
pub docs_markdown: Option<String>,
pub doc_aliases: Vec<String>,
pub deprecation: Option<Deprecation>,
pub stability: Option<Stability>,
pub feature_gates: Vec<String>,
pub attrs_structured: Vec<String>,
pub links: BTreeMap<String, LinkTarget>,
pub inner: ItemInner,
pub doctests: Vec<Doctest>,
}Fields§
§id: ItemId§name: Option<String>§path: Vec<String>§visibility: Visibility§source: Option<SourceLocation>§docs_markdown: Option<String>§doc_aliases: Vec<String>§deprecation: Option<Deprecation>§stability: Option<Stability>§feature_gates: Vec<String>§attrs_structured: Vec<String>§links: BTreeMap<String, LinkTarget>Intra-doc link table: link label as it appears in the docstring, mapped to a resolved target. Internal targets reference a local item id; external targets carry enough metadata to render a docs.rs or std URL without a second snapshot lookup.
inner: ItemInner§doctests: Vec<Doctest>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Item
impl<'de> Deserialize<'de> for Item
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 Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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