pub struct DocItem {
pub kind: DocItemKind,
pub name: String,
pub doc: String,
pub signature: Option<String>,
pub type_params: Vec<String>,
pub params: Vec<DocParam>,
pub return_type: Option<String>,
pub children: Vec<DocItem>,
}Fields§
§kind: DocItemKind§name: String§doc: String§signature: Option<String>§type_params: Vec<String>§params: Vec<DocParam>§return_type: Option<String>§children: Vec<DocItem>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocItem
impl<'de> Deserialize<'de> for DocItem
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 DocItem
impl RefUnwindSafe for DocItem
impl Send for DocItem
impl Sync for DocItem
impl Unpin for DocItem
impl UnsafeUnpin for DocItem
impl UnwindSafe for DocItem
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