Struct aws_sdk_codecommit::operation::merge_branches_by_fast_forward::MergeBranchesByFastForwardInput
source · #[non_exhaustive]pub struct MergeBranchesByFastForwardInput {
pub repository_name: Option<String>,
pub source_commit_specifier: Option<String>,
pub destination_commit_specifier: Option<String>,
pub target_branch: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.repository_name: Option<String>The name of the repository where you want to merge two branches.
source_commit_specifier: Option<String>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
destination_commit_specifier: Option<String>The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
target_branch: Option<String>The branch where the merge is applied.
Implementations§
source§impl MergeBranchesByFastForwardInput
impl MergeBranchesByFastForwardInput
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository where you want to merge two branches.
sourcepub fn source_commit_specifier(&self) -> Option<&str>
pub fn source_commit_specifier(&self) -> Option<&str>
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
sourcepub fn destination_commit_specifier(&self) -> Option<&str>
pub fn destination_commit_specifier(&self) -> Option<&str>
The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).
sourcepub fn target_branch(&self) -> Option<&str>
pub fn target_branch(&self) -> Option<&str>
The branch where the merge is applied.
source§impl MergeBranchesByFastForwardInput
impl MergeBranchesByFastForwardInput
sourcepub fn builder() -> MergeBranchesByFastForwardInputBuilder
pub fn builder() -> MergeBranchesByFastForwardInputBuilder
Creates a new builder-style object to manufacture MergeBranchesByFastForwardInput.
Trait Implementations§
source§impl Clone for MergeBranchesByFastForwardInput
impl Clone for MergeBranchesByFastForwardInput
source§fn clone(&self) -> MergeBranchesByFastForwardInput
fn clone(&self) -> MergeBranchesByFastForwardInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for MergeBranchesByFastForwardInput
impl PartialEq for MergeBranchesByFastForwardInput
source§fn eq(&self, other: &MergeBranchesByFastForwardInput) -> bool
fn eq(&self, other: &MergeBranchesByFastForwardInput) -> bool
self and other values to be equal, and is used
by ==.