git_cliff_core::remote

Trait RemoteCommit

source
pub trait RemoteCommit: DynClone {
    // Required methods
    fn id(&self) -> String;
    fn username(&self) -> Option<String>;
}
Available on crate feature remote only.
Expand description

Trait for handling remote commits.

Required Methods§

source

fn id(&self) -> String

Commit SHA.

source

fn username(&self) -> Option<String>

Commit author.

Implementors§

source§

impl RemoteCommit for BitbucketCommit

Available on crate feature bitbucket only.
source§

impl RemoteCommit for GiteaCommit

Available on crate feature gitea only.
source§

impl RemoteCommit for GitHubCommit

Available on crate feature github only.
source§

impl RemoteCommit for GitLabCommit

Available on crate feature gitlab only.