pub struct PatchGitUpdateRef {
pub sha: Option<String>,
pub force: Option<bool>,
}Fields§
§sha: Option<String>The SHA1 value to set this reference to
force: Option<bool>Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to false will make sure you’re not overwriting work.
Trait Implementations§
Source§impl Clone for PatchGitUpdateRef
impl Clone for PatchGitUpdateRef
Source§fn clone(&self) -> PatchGitUpdateRef
fn clone(&self) -> PatchGitUpdateRef
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 PatchGitUpdateRef
impl Debug for PatchGitUpdateRef
Source§impl Default for PatchGitUpdateRef
impl Default for PatchGitUpdateRef
Source§fn default() -> PatchGitUpdateRef
fn default() -> PatchGitUpdateRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatchGitUpdateRef
impl<'de> Deserialize<'de> for PatchGitUpdateRef
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 PatchGitUpdateRef
impl PartialEq for PatchGitUpdateRef
Source§impl Serialize for PatchGitUpdateRef
impl Serialize for PatchGitUpdateRef
impl StructuralPartialEq for PatchGitUpdateRef
Auto Trait Implementations§
impl Freeze for PatchGitUpdateRef
impl RefUnwindSafe for PatchGitUpdateRef
impl Send for PatchGitUpdateRef
impl Sync for PatchGitUpdateRef
impl Unpin for PatchGitUpdateRef
impl UnwindSafe for PatchGitUpdateRef
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