#[non_exhaustive]pub struct ListSourceRepositoryBranchesItem { /* private fields */ }
Expand description
Information about a branch of a source repository returned in a list of branches.
Implementations§
source§impl ListSourceRepositoryBranchesItem
impl ListSourceRepositoryBranchesItem
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The time the branch was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
sourcepub fn head_commit_id(&self) -> Option<&str>
pub fn head_commit_id(&self) -> Option<&str>
The commit ID of the tip of the branch at the time of the request, also known as the head commit.
source§impl ListSourceRepositoryBranchesItem
impl ListSourceRepositoryBranchesItem
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListSourceRepositoryBranchesItem
.
Trait Implementations§
source§impl Clone for ListSourceRepositoryBranchesItem
impl Clone for ListSourceRepositoryBranchesItem
source§fn clone(&self) -> ListSourceRepositoryBranchesItem
fn clone(&self) -> ListSourceRepositoryBranchesItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<ListSourceRepositoryBranchesItem> for ListSourceRepositoryBranchesItem
impl PartialEq<ListSourceRepositoryBranchesItem> for ListSourceRepositoryBranchesItem
source§fn eq(&self, other: &ListSourceRepositoryBranchesItem) -> bool
fn eq(&self, other: &ListSourceRepositoryBranchesItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.