#[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
sourceimpl 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.
sourceimpl BranchDiffSourceCodeType
impl BranchDiffSourceCodeType
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BranchDiffSourceCodeType.
Trait Implementations
sourceimpl Clone for BranchDiffSourceCodeType
impl Clone for BranchDiffSourceCodeType
sourcefn clone(&self) -> BranchDiffSourceCodeType
fn clone(&self) -> BranchDiffSourceCodeType
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 BranchDiffSourceCodeType
impl Debug for BranchDiffSourceCodeType
sourceimpl PartialEq<BranchDiffSourceCodeType> for BranchDiffSourceCodeType
impl PartialEq<BranchDiffSourceCodeType> for BranchDiffSourceCodeType
sourcefn eq(&self, other: &BranchDiffSourceCodeType) -> bool
fn eq(&self, other: &BranchDiffSourceCodeType) -> bool
impl StructuralPartialEq for BranchDiffSourceCodeType
Auto Trait Implementations
impl RefUnwindSafe for BranchDiffSourceCodeType
impl Send for BranchDiffSourceCodeType
impl Sync for BranchDiffSourceCodeType
impl Unpin for BranchDiffSourceCodeType
impl UnwindSafe for BranchDiffSourceCodeType
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