#[non_exhaustive]pub struct CreateBranchInput {
    pub repository_name: Option<String>,
    pub branch_name: Option<String>,
    pub commit_id: Option<String>,
}Expand description
Represents the input of a create branch operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
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 in which you want to create the new branch.
branch_name: Option<String>The name of the new branch to create.
commit_id: Option<String>The ID of the commit to point the new branch to.
Implementations§
source§impl CreateBranchInput
 
impl CreateBranchInput
sourcepub fn builder() -> CreateBranchInputBuilder
 
pub fn builder() -> CreateBranchInputBuilder
Creates a new builder-style object to manufacture CreateBranchInput.
Trait Implementations§
source§impl Clone for CreateBranchInput
 
impl Clone for CreateBranchInput
source§fn clone(&self) -> CreateBranchInput
 
fn clone(&self) -> CreateBranchInput
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 CreateBranchInput
 
impl Debug for CreateBranchInput
source§impl PartialEq<CreateBranchInput> for CreateBranchInput
 
impl PartialEq<CreateBranchInput> for CreateBranchInput
source§fn eq(&self, other: &CreateBranchInput) -> bool
 
fn eq(&self, other: &CreateBranchInput) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateBranchInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateBranchInput
impl Send for CreateBranchInput
impl Sync for CreateBranchInput
impl Unpin for CreateBranchInput
impl UnwindSafe for CreateBranchInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more