pub struct RawCargoDoc {
pub workspace: Option<bool>,
pub document_private_items: Option<bool>,
pub no_deps: Option<bool>,
}Expand description
Raw [cargo.doc] configuration parsed from TOML.
Fields§
§workspace: Option<bool>Whether cargo doc should run for the entire workspace.
document_private_items: Option<bool>Whether to include private items in the generated documentation.
no_deps: Option<bool>Whether to skip building dependencies when running cargo doc.
Trait Implementations§
Source§impl Debug for RawCargoDoc
impl Debug for RawCargoDoc
Source§impl Default for RawCargoDoc
impl Default for RawCargoDoc
Source§impl<'de> Deserialize<'de> for RawCargoDoc
impl<'de> Deserialize<'de> for RawCargoDoc
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
Source§impl From<&RawCargoDoc> for CargoDocConfig
impl From<&RawCargoDoc> for CargoDocConfig
Source§fn from(raw: &RawCargoDoc) -> Self
fn from(raw: &RawCargoDoc) -> Self
Convert a borrowed RawCargoDoc into a concrete configuration.
Auto Trait Implementations§
impl Forget for RawCargoDoc
impl Freeze for RawCargoDoc
impl Move for RawCargoDoc
impl RefUnwindSafe for RawCargoDoc
impl Send for RawCargoDoc
impl Sync for RawCargoDoc
impl Unpin for RawCargoDoc
impl UnsafeUnpin for RawCargoDoc
impl UnwindSafe for RawCargoDoc
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