Struct azure_devops_rust_api::git::models::GitForkSyncRequest
source · pub struct GitForkSyncRequest {
pub links: Option<Value>,
pub detailed_status: Option<GitForkOperationStatusDetail>,
pub operation_id: Option<i32>,
pub source: Option<GlobalGitRepositoryKey>,
pub source_to_target_refs: Vec<SourceToTargetRef>,
pub status: Option<Status>,
}Expand description
Request to sync data between two forks.
Fields§
§links: Option<Value>Links
detailed_status: Option<GitForkOperationStatusDetail>Status information about a requested fork operation.
operation_id: Option<i32>Unique identifier for the operation.
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.
status: Option<Status>Implementations§
Trait Implementations§
source§impl Clone for GitForkSyncRequest
impl Clone for GitForkSyncRequest
source§fn clone(&self) -> GitForkSyncRequest
fn clone(&self) -> GitForkSyncRequest
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 GitForkSyncRequest
impl Debug for GitForkSyncRequest
source§impl Default for GitForkSyncRequest
impl Default for GitForkSyncRequest
source§fn default() -> GitForkSyncRequest
fn default() -> GitForkSyncRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GitForkSyncRequest
impl<'de> Deserialize<'de> for GitForkSyncRequest
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<GitForkSyncRequest> for GitForkSyncRequest
impl PartialEq<GitForkSyncRequest> for GitForkSyncRequest
source§fn eq(&self, other: &GitForkSyncRequest) -> bool
fn eq(&self, other: &GitForkSyncRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.