Struct mit_commit_message_lints::mit::Authors[][src]

pub struct Authors {
    pub authors: BTreeMap<String, Author>,
}

Fields

authors: BTreeMap<String, Author>

Implementations

impl Authors[src]

#[must_use]
pub fn new(authors: BTreeMap<String, Author>) -> Authors
[src]

#[must_use]
pub fn get(&self, author_initials: &[&str]) -> Vec<Option<&Author>>
[src]

#[must_use]
pub fn merge(&self, authors: &Authors) -> Authors
[src]

#[must_use]
pub fn example() -> Authors
[src]

Trait Implementations

impl Clone for Authors[src]

impl Debug for Authors[src]

impl Eq for Authors[src]

impl PartialEq<Authors> for Authors[src]

impl StructuralEq for Authors[src]

impl StructuralPartialEq for Authors[src]

impl TryFrom<&'_ str> for Authors[src]

type Error = ConfigParseError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Authors

impl Send for Authors

impl Sync for Authors

impl Unpin for Authors

impl UnwindSafe for Authors

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> From<T> for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.