#[non_exhaustive]pub struct BranchDiffSourceCodeTypeBuilder { /* private fields */ }Expand description
A builder for BranchDiffSourceCodeType.
Implementations§
source§impl BranchDiffSourceCodeTypeBuilder
impl BranchDiffSourceCodeTypeBuilder
sourcepub fn source_branch_name(self, input: impl Into<String>) -> Self
pub fn source_branch_name(self, input: impl Into<String>) -> Self
The source branch for a diff in an associated repository.
sourcepub fn set_source_branch_name(self, input: Option<String>) -> Self
pub fn set_source_branch_name(self, input: Option<String>) -> Self
The source branch for a diff in an associated repository.
sourcepub fn destination_branch_name(self, input: impl Into<String>) -> Self
pub fn destination_branch_name(self, input: impl Into<String>) -> Self
The destination branch for a diff in an associated repository.
sourcepub fn set_destination_branch_name(self, input: Option<String>) -> Self
pub fn set_destination_branch_name(self, input: Option<String>) -> Self
The destination branch for a diff in an associated repository.
sourcepub fn build(self) -> BranchDiffSourceCodeType
pub fn build(self) -> BranchDiffSourceCodeType
Consumes the builder and constructs a BranchDiffSourceCodeType.
Trait Implementations§
source§impl Clone for BranchDiffSourceCodeTypeBuilder
impl Clone for BranchDiffSourceCodeTypeBuilder
source§fn clone(&self) -> BranchDiffSourceCodeTypeBuilder
fn clone(&self) -> BranchDiffSourceCodeTypeBuilder
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 Default for BranchDiffSourceCodeTypeBuilder
impl Default for BranchDiffSourceCodeTypeBuilder
source§fn default() -> BranchDiffSourceCodeTypeBuilder
fn default() -> BranchDiffSourceCodeTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BranchDiffSourceCodeTypeBuilder> for BranchDiffSourceCodeTypeBuilder
impl PartialEq<BranchDiffSourceCodeTypeBuilder> for BranchDiffSourceCodeTypeBuilder
source§fn eq(&self, other: &BranchDiffSourceCodeTypeBuilder) -> bool
fn eq(&self, other: &BranchDiffSourceCodeTypeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.