pub struct RepoUpdateDefaultBranchInput {
pub name: String,
}Fields§
§name: StringImplementations§
Source§impl RepoUpdateDefaultBranchInput
impl RepoUpdateDefaultBranchInput
pub fn new(name: String) -> RepoUpdateDefaultBranchInput
Trait Implementations§
Source§impl Clone for RepoUpdateDefaultBranchInput
impl Clone for RepoUpdateDefaultBranchInput
Source§fn clone(&self) -> RepoUpdateDefaultBranchInput
fn clone(&self) -> RepoUpdateDefaultBranchInput
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 RepoUpdateDefaultBranchInput
impl Debug for RepoUpdateDefaultBranchInput
Source§impl Default for RepoUpdateDefaultBranchInput
impl Default for RepoUpdateDefaultBranchInput
Source§fn default() -> RepoUpdateDefaultBranchInput
fn default() -> RepoUpdateDefaultBranchInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepoUpdateDefaultBranchInput
impl<'de> Deserialize<'de> for RepoUpdateDefaultBranchInput
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 RepoUpdateDefaultBranchInput
impl PartialEq for RepoUpdateDefaultBranchInput
Source§fn eq(&self, other: &RepoUpdateDefaultBranchInput) -> bool
fn eq(&self, other: &RepoUpdateDefaultBranchInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RepoUpdateDefaultBranchInput
Auto Trait Implementations§
impl Freeze for RepoUpdateDefaultBranchInput
impl RefUnwindSafe for RepoUpdateDefaultBranchInput
impl Send for RepoUpdateDefaultBranchInput
impl Sync for RepoUpdateDefaultBranchInput
impl Unpin for RepoUpdateDefaultBranchInput
impl UnwindSafe for RepoUpdateDefaultBranchInput
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