pub struct DocumentationStandards {
pub require_public_docs: bool,
pub require_private_docs: bool,
pub require_examples: bool,
pub min_doc_length: usize,
}Expand description
Documentation requirements
Fields§
§require_public_docs: boolRequire documentation for all public items
require_private_docs: boolRequire documentation for private items
require_examples: boolRequire examples in documentation
min_doc_length: usizeMinimum documentation length (words)
Trait Implementations§
Source§impl Clone for DocumentationStandards
impl Clone for DocumentationStandards
Source§fn clone(&self) -> DocumentationStandards
fn clone(&self) -> DocumentationStandards
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentationStandards
impl Debug for DocumentationStandards
Source§impl<'de> Deserialize<'de> for DocumentationStandards
impl<'de> Deserialize<'de> for DocumentationStandards
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 DocumentationStandards
impl RefUnwindSafe for DocumentationStandards
impl Send for DocumentationStandards
impl Sync for DocumentationStandards
impl Unpin for DocumentationStandards
impl UnwindSafe for DocumentationStandards
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