pub struct GitForkSyncRequestParameters {
pub source: Option<GlobalGitRepositoryKey>,
pub source_to_target_refs: Vec<SourceToTargetRef>,
}
Expand description
Parameters for creating a fork request
Fields§
§source: Option<GlobalGitRepositoryKey>
Globally unique key for a repository.
source_to_target_refs: Vec<SourceToTargetRef>
If supplied, the set of ref mappings to use when performing a “sync” or create. If missing, all refs will be synchronized.
Implementations§
Trait Implementations§
source§impl Clone for GitForkSyncRequestParameters
impl Clone for GitForkSyncRequestParameters
source§fn clone(&self) -> GitForkSyncRequestParameters
fn clone(&self) -> GitForkSyncRequestParameters
Returns a copy 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 GitForkSyncRequestParameters
impl Debug for GitForkSyncRequestParameters
source§impl Default for GitForkSyncRequestParameters
impl Default for GitForkSyncRequestParameters
source§fn default() -> GitForkSyncRequestParameters
fn default() -> GitForkSyncRequestParameters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GitForkSyncRequestParameters
impl<'de> Deserialize<'de> for GitForkSyncRequestParameters
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 GitForkSyncRequestParameters
impl PartialEq for GitForkSyncRequestParameters
source§fn eq(&self, other: &GitForkSyncRequestParameters) -> bool
fn eq(&self, other: &GitForkSyncRequestParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GitForkSyncRequestParameters
Auto Trait Implementations§
impl RefUnwindSafe for GitForkSyncRequestParameters
impl Send for GitForkSyncRequestParameters
impl Sync for GitForkSyncRequestParameters
impl Unpin for GitForkSyncRequestParameters
impl UnwindSafe for GitForkSyncRequestParameters
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