pub struct ReleaseCreateInput {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub version: Option<String>,
pub commit_sha: Option<String>,
pub pipeline_id: Option<String>,
pub stage_id: Option<String>,
pub start_date: Option<NaiveDate>,
pub target_date: Option<NaiveDate>,
}Expand description
The input for creating a release.
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.
pipeline_id: Option<String>The identifier of the pipeline this release belongs to.
stage_id: Option<String>The current stage of the release. Defaults to the first ‘completed’ stage for continuous pipelines, or the first ‘started’ stage for scheduled pipelines.
start_date: Option<NaiveDate>The estimated start date of the release.
target_date: Option<NaiveDate>The estimated completion date of the release.
Trait Implementations§
Source§impl Clone for ReleaseCreateInput
impl Clone for ReleaseCreateInput
Source§fn clone(&self) -> ReleaseCreateInput
fn clone(&self) -> ReleaseCreateInput
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 ReleaseCreateInput
impl Debug for ReleaseCreateInput
Source§impl Default for ReleaseCreateInput
impl Default for ReleaseCreateInput
Source§fn default() -> ReleaseCreateInput
fn default() -> ReleaseCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReleaseCreateInput
impl<'de> Deserialize<'de> for ReleaseCreateInput
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 ReleaseCreateInput
impl RefUnwindSafe for ReleaseCreateInput
impl Send for ReleaseCreateInput
impl Sync for ReleaseCreateInput
impl Unpin for ReleaseCreateInput
impl UnwindSafe for ReleaseCreateInput
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