pub struct GitMergeParameters {
pub comment: Option<String>,
pub parents: Vec<String>,
}Expand description
Parameters required for performing git merge.
Fields§
§comment: Option<String>Comment or message of the commit.
parents: Vec<String>An enumeration of the parent commit IDs for the merge commit.
Implementations§
Trait Implementations§
Source§impl Clone for GitMergeParameters
impl Clone for GitMergeParameters
Source§fn clone(&self) -> GitMergeParameters
fn clone(&self) -> GitMergeParameters
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 GitMergeParameters
impl Debug for GitMergeParameters
Source§impl Default for GitMergeParameters
impl Default for GitMergeParameters
Source§fn default() -> GitMergeParameters
fn default() -> GitMergeParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitMergeParameters
impl<'de> Deserialize<'de> for GitMergeParameters
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 GitMergeParameters
impl PartialEq for GitMergeParameters
Source§impl Serialize for GitMergeParameters
impl Serialize for GitMergeParameters
impl StructuralPartialEq for GitMergeParameters
Auto Trait Implementations§
impl Freeze for GitMergeParameters
impl RefUnwindSafe for GitMergeParameters
impl Send for GitMergeParameters
impl Sync for GitMergeParameters
impl Unpin for GitMergeParameters
impl UnwindSafe for GitMergeParameters
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