#[non_exhaustive]pub struct RepositoryHeadSourceCodeType { /* private fields */ }Expand description
A SourceCodeType that specifies the tip of a branch in an associated repository.
Implementations
sourceimpl RepositoryHeadSourceCodeType
impl RepositoryHeadSourceCodeType
sourcepub fn branch_name(&self) -> Option<&str>
pub fn branch_name(&self) -> Option<&str>
The name of the branch in an associated repository. The RepositoryHeadSourceCodeType specifies the tip of this branch.
sourceimpl RepositoryHeadSourceCodeType
impl RepositoryHeadSourceCodeType
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RepositoryHeadSourceCodeType.
Trait Implementations
sourceimpl Clone for RepositoryHeadSourceCodeType
impl Clone for RepositoryHeadSourceCodeType
sourcefn clone(&self) -> RepositoryHeadSourceCodeType
fn clone(&self) -> RepositoryHeadSourceCodeType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RepositoryHeadSourceCodeType
impl Debug for RepositoryHeadSourceCodeType
sourceimpl PartialEq<RepositoryHeadSourceCodeType> for RepositoryHeadSourceCodeType
impl PartialEq<RepositoryHeadSourceCodeType> for RepositoryHeadSourceCodeType
sourcefn eq(&self, other: &RepositoryHeadSourceCodeType) -> bool
fn eq(&self, other: &RepositoryHeadSourceCodeType) -> bool
impl StructuralPartialEq for RepositoryHeadSourceCodeType
Auto Trait Implementations
impl RefUnwindSafe for RepositoryHeadSourceCodeType
impl Send for RepositoryHeadSourceCodeType
impl Sync for RepositoryHeadSourceCodeType
impl Unpin for RepositoryHeadSourceCodeType
impl UnwindSafe for RepositoryHeadSourceCodeType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more