pub struct ReleaseSyncInput {Show 13 fields
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub version: Option<String>,
pub commit_sha: Option<String>,
pub stage_id: Option<String>,
pub issue_references: Option<Vec<Box<IssueReferenceInput>>>,
pub pull_request_references: Option<Vec<Box<PullRequestReferenceInput>>>,
pub repository: Option<Box<RepositoryDataInput>>,
pub debug_sink: Option<Box<ReleaseDebugSinkInput>>,
pub start_date: Option<NaiveDate>,
pub target_date: Option<NaiveDate>,
pub pipeline_id: Option<String>,
}Expand description
The release data to sync.
Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
name: Option<String>The name of the release.
description: Option<String>The description of the release.
version: Option<String>The version of the release.
commit_sha: Option<String>The commit SHA associated with this release.
stage_id: Option<String>The current stage of the release. Defaults to the first ‘completed’ stage.
issue_references: Option<Vec<Box<IssueReferenceInput>>>Issue references (e.g. ENG-123) to associate with this release.
pull_request_references: Option<Vec<Box<PullRequestReferenceInput>>>Pull request references to look up. Issues linked to found PRs will be associated with this release.
repository: Option<Box<RepositoryDataInput>>Information about the source repository.
debug_sink: Option<Box<ReleaseDebugSinkInput>>Debug information for release creation diagnostics.
start_date: Option<NaiveDate>The estimated start date of the release.
target_date: Option<NaiveDate>The estimated completion date of the release.
pipeline_id: Option<String>The identifier of the pipeline this release belongs to.
Trait Implementations§
Source§impl Clone for ReleaseSyncInput
impl Clone for ReleaseSyncInput
Source§fn clone(&self) -> ReleaseSyncInput
fn clone(&self) -> ReleaseSyncInput
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 ReleaseSyncInput
impl Debug for ReleaseSyncInput
Source§impl Default for ReleaseSyncInput
impl Default for ReleaseSyncInput
Source§fn default() -> ReleaseSyncInput
fn default() -> ReleaseSyncInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReleaseSyncInput
impl<'de> Deserialize<'de> for ReleaseSyncInput
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
Auto Trait Implementations§
impl Freeze for ReleaseSyncInput
impl RefUnwindSafe for ReleaseSyncInput
impl Send for ReleaseSyncInput
impl Sync for ReleaseSyncInput
impl Unpin for ReleaseSyncInput
impl UnwindSafe for ReleaseSyncInput
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