Struct roctogen::endpoints::repos::ReposListCommitsParams [−][src]
pub struct ReposListCommitsParams<'req> { /* fields omitted */ }
Expand description
Query parameters for the List commits endpoint.
Implementations
impl<'req> ReposListCommitsParams<'req>
[src]
impl<'req> ReposListCommitsParams<'req>
[src]pub fn new() -> Self
[src]
pub fn sha(self, sha: &'req str) -> Self
[src]
pub fn sha(self, sha: &'req str) -> Self
[src]SHA or branch to start listing commits from. Default: the repository’s default branch (usually master
).
pub fn path(self, path: &'req str) -> Self
[src]
pub fn path(self, path: &'req str) -> Self
[src]Only commits containing this file path will be returned.
pub fn author(self, author: &'req str) -> Self
[src]
pub fn author(self, author: &'req str) -> Self
[src]GitHub login or email address by which to filter by commit author.
pub fn since(self, since: DateTime<Utc>) -> Self
[src]
pub fn since(self, since: DateTime<Utc>) -> Self
[src]Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Trait Implementations
impl<'req> Default for ReposListCommitsParams<'req>
[src]
impl<'req> Default for ReposListCommitsParams<'req>
[src]fn default() -> ReposListCommitsParams<'req>
[src]
fn default() -> ReposListCommitsParams<'req>
[src]Returns the “default value” for a type. Read more
impl<'enc> From<&'enc PerPage> for ReposListCommitsParams<'enc>
[src]
impl<'enc> From<&'enc PerPage> for ReposListCommitsParams<'enc>
[src]impl<'req> Serialize for ReposListCommitsParams<'req>
[src]
impl<'req> Serialize for ReposListCommitsParams<'req>
[src]