pub struct UpdateDefaultBranchInput {
pub default_branch_name: String,
pub repository_name: String,
}Expand description
Represents the input of an update default branch operation.
Fields§
§default_branch_name: StringThe name of the branch to set as the default.
repository_name: StringThe name of the repository to set or change the default branch for.
Trait Implementations§
Source§impl Clone for UpdateDefaultBranchInput
impl Clone for UpdateDefaultBranchInput
Source§fn clone(&self) -> UpdateDefaultBranchInput
fn clone(&self) -> UpdateDefaultBranchInput
Returns a duplicate 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 UpdateDefaultBranchInput
impl Debug for UpdateDefaultBranchInput
Source§impl Default for UpdateDefaultBranchInput
impl Default for UpdateDefaultBranchInput
Source§fn default() -> UpdateDefaultBranchInput
fn default() -> UpdateDefaultBranchInput
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateDefaultBranchInput
impl PartialEq for UpdateDefaultBranchInput
Source§impl Serialize for UpdateDefaultBranchInput
impl Serialize for UpdateDefaultBranchInput
impl StructuralPartialEq for UpdateDefaultBranchInput
Auto Trait Implementations§
impl Freeze for UpdateDefaultBranchInput
impl RefUnwindSafe for UpdateDefaultBranchInput
impl Send for UpdateDefaultBranchInput
impl Sync for UpdateDefaultBranchInput
impl Unpin for UpdateDefaultBranchInput
impl UnwindSafe for UpdateDefaultBranchInput
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