pub struct UpdateBranchRepoOption {
pub name: String,
}Expand description
UpdateBranchRepoOption options when updating a branch in a repository
Fields§
§name: StringNew branch name
Trait Implementations§
Source§impl Clone for UpdateBranchRepoOption
impl Clone for UpdateBranchRepoOption
Source§fn clone(&self) -> UpdateBranchRepoOption
fn clone(&self) -> UpdateBranchRepoOption
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 UpdateBranchRepoOption
impl Debug for UpdateBranchRepoOption
Source§impl<'de> Deserialize<'de> for UpdateBranchRepoOption
impl<'de> Deserialize<'de> for UpdateBranchRepoOption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpdateBranchRepoOption
impl PartialEq for UpdateBranchRepoOption
Source§impl Serialize for UpdateBranchRepoOption
impl Serialize for UpdateBranchRepoOption
impl StructuralPartialEq for UpdateBranchRepoOption
Auto Trait Implementations§
impl Freeze for UpdateBranchRepoOption
impl RefUnwindSafe for UpdateBranchRepoOption
impl Send for UpdateBranchRepoOption
impl Sync for UpdateBranchRepoOption
impl Unpin for UpdateBranchRepoOption
impl UnwindSafe for UpdateBranchRepoOption
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