#[non_exhaustive]pub struct BranchDiffSourceCodeType { /* private fields */ }
Expand description
A type of SourceCodeType that specifies a code diff between a source and destination branch in an associated repository.
Implementations§
source§impl BranchDiffSourceCodeType
impl BranchDiffSourceCodeType
sourcepub fn source_branch_name(&self) -> Option<&str>
pub fn source_branch_name(&self) -> Option<&str>
The source branch for a diff in an associated repository.
sourcepub fn destination_branch_name(&self) -> Option<&str>
pub fn destination_branch_name(&self) -> Option<&str>
The destination branch for a diff in an associated repository.
source§impl BranchDiffSourceCodeType
impl BranchDiffSourceCodeType
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BranchDiffSourceCodeType
.
Trait Implementations§
source§impl Clone for BranchDiffSourceCodeType
impl Clone for BranchDiffSourceCodeType
source§fn clone(&self) -> BranchDiffSourceCodeType
fn clone(&self) -> BranchDiffSourceCodeType
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 Debug for BranchDiffSourceCodeType
impl Debug for BranchDiffSourceCodeType
source§impl PartialEq<BranchDiffSourceCodeType> for BranchDiffSourceCodeType
impl PartialEq<BranchDiffSourceCodeType> for BranchDiffSourceCodeType
source§fn eq(&self, other: &BranchDiffSourceCodeType) -> bool
fn eq(&self, other: &BranchDiffSourceCodeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.