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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GitForkSyncRequestParameters
Auto Trait Implementations§
impl Freeze for GitForkSyncRequestParameters
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