[][src]Struct noter::configs::Configuration

pub struct Configuration {
    pub directory: String,
    pub filename: String,
    pub title_format: String,
    pub issue_format: String,
    pub variant: Vec<NoteVariant>,
}

Fields

directory: String

The directory (relative to the configuration file) in which release notes are stored.

filename: String

The name of the release notes file.

title_format: String

The format string used to generate the title line of each release note.

issue_format: String

The format string used to display next to the ticket name.

variant: Vec<NoteVariant>

A list of release note variants.

Methods

impl Configuration[src]

pub fn new<S, T, U, V>(
    directory: S,
    filename: T,
    title_format: U,
    issue_format: V,
    variants: Vec<NoteVariant>
) -> Self where
    S: Into<String>,
    T: Into<String>,
    U: Into<String>,
    V: Into<String>, 
[src]

Trait Implementations

impl Clone for Configuration[src]

impl Debug for Configuration[src]

impl<'de> Deserialize<'de> for Configuration[src]

impl PartialEq<Configuration> for Configuration[src]

impl Serialize for Configuration[src]

impl StructuralPartialEq for Configuration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.