pub struct GitAsyncRefOperationSource {
pub commit_list: Vec<GitCommitRef>,
pub pull_request_id: Option<i32>,
}Expand description
GitAsyncRefOperationSource specifies the pull request or list of commits to use when making a cherry pick and revert operation request. Only one should be provided.
Fields§
§commit_list: Vec<GitCommitRef>A list of commits to cherry pick or revert
pull_request_id: Option<i32>Id of the pull request to cherry pick or revert
Implementations§
Trait Implementations§
Source§impl Clone for GitAsyncRefOperationSource
impl Clone for GitAsyncRefOperationSource
Source§fn clone(&self) -> GitAsyncRefOperationSource
fn clone(&self) -> GitAsyncRefOperationSource
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 GitAsyncRefOperationSource
impl Debug for GitAsyncRefOperationSource
Source§impl Default for GitAsyncRefOperationSource
impl Default for GitAsyncRefOperationSource
Source§fn default() -> GitAsyncRefOperationSource
fn default() -> GitAsyncRefOperationSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitAsyncRefOperationSource
impl<'de> Deserialize<'de> for GitAsyncRefOperationSource
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
impl StructuralPartialEq for GitAsyncRefOperationSource
Auto Trait Implementations§
impl Freeze for GitAsyncRefOperationSource
impl RefUnwindSafe for GitAsyncRefOperationSource
impl Send for GitAsyncRefOperationSource
impl Sync for GitAsyncRefOperationSource
impl Unpin for GitAsyncRefOperationSource
impl UnwindSafe for GitAsyncRefOperationSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more