pub struct ProjectConventions {
pub commit_format: Option<String>,
pub required_trailers: Vec<String>,
pub preferred_types: Vec<String>,
pub scope_requirements: ScopeRequirements,
}Expand description
Project conventions parsed from documentation.
Fields§
§commit_format: Option<String>Expected commit message format.
required_trailers: Vec<String>Required trailers like Signed-off-by.
preferred_types: Vec<String>Preferred commit types for this project.
scope_requirements: ScopeRequirementsScope usage requirements and definitions.
Trait Implementations§
Source§impl Clone for ProjectConventions
impl Clone for ProjectConventions
Source§fn clone(&self) -> ProjectConventions
fn clone(&self) -> ProjectConventions
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 ProjectConventions
impl Debug for ProjectConventions
Source§impl Default for ProjectConventions
impl Default for ProjectConventions
Source§fn default() -> ProjectConventions
fn default() -> ProjectConventions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectConventions
impl<'de> Deserialize<'de> for ProjectConventions
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 ProjectConventions
impl RefUnwindSafe for ProjectConventions
impl Send for ProjectConventions
impl Sync for ProjectConventions
impl Unpin for ProjectConventions
impl UnsafeUnpin for ProjectConventions
impl UnwindSafe for ProjectConventions
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