[−][src]Enum git_checks::ChangelogStyle
The style of changelog management in use.
Variants
A directory stores a file per changelog entry.
Fields of Directory
A file contains the changelog entries for a project.
Fields of File
path: String
The path to the changelog.
A set of files containing the changelog entries for a project.
Implementations
impl ChangelogStyle
[src]
pub fn file<P>(path: P) -> Self where
P: Into<String>,
[src]
P: Into<String>,
A changelog stored in a file at a given path.
pub fn directory<P>(path: P, ext: Option<String>) -> Self where
P: Into<String>,
[src]
P: Into<String>,
A directory containing many files, each with a changelog entry.
Entries may also be required to have a given extension.
pub fn files<P, I>(paths: I) -> Self where
I: IntoIterator<Item = P>,
P: Into<String>,
[src]
I: IntoIterator<Item = P>,
P: Into<String>,
A changelog stored in files at the given paths.
Trait Implementations
impl Clone for ChangelogStyle
[src]
fn clone(&self) -> ChangelogStyle
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ChangelogStyle
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChangelogStyle
impl Send for ChangelogStyle
impl Sync for ChangelogStyle
impl Unpin for ChangelogStyle
impl UnwindSafe for ChangelogStyle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,