pub struct GitAsyncRefOperationParameters {
pub generated_ref_name: Option<String>,
pub onto_ref_name: Option<String>,
pub repository: Option<GitRepository>,
pub source: Option<GitAsyncRefOperationSource>,
}Expand description
Parameters that are provided in the request body when requesting to cherry pick or revert.
Fields§
§generated_ref_name: Option<String>Proposed target branch name for the cherry pick or revert operation.
onto_ref_name: Option<String>The target branch for the cherry pick or revert operation.
repository: Option<GitRepository>§source: Option<GitAsyncRefOperationSource>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.
Implementations§
Trait Implementations§
Source§impl Clone for GitAsyncRefOperationParameters
impl Clone for GitAsyncRefOperationParameters
Source§fn clone(&self) -> GitAsyncRefOperationParameters
fn clone(&self) -> GitAsyncRefOperationParameters
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 Default for GitAsyncRefOperationParameters
impl Default for GitAsyncRefOperationParameters
Source§fn default() -> GitAsyncRefOperationParameters
fn default() -> GitAsyncRefOperationParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitAsyncRefOperationParameters
impl<'de> Deserialize<'de> for GitAsyncRefOperationParameters
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 GitAsyncRefOperationParameters
impl PartialEq for GitAsyncRefOperationParameters
Source§fn eq(&self, other: &GitAsyncRefOperationParameters) -> bool
fn eq(&self, other: &GitAsyncRefOperationParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GitAsyncRefOperationParameters
Auto Trait Implementations§
impl Freeze for GitAsyncRefOperationParameters
impl RefUnwindSafe for GitAsyncRefOperationParameters
impl Send for GitAsyncRefOperationParameters
impl Sync for GitAsyncRefOperationParameters
impl Unpin for GitAsyncRefOperationParameters
impl UnwindSafe for GitAsyncRefOperationParameters
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