pub struct ReleaseStageCreateInput {
pub id: MaybeUndefined<String>,
pub name: String,
pub color: String,
pub type: ReleaseStageType,
pub position: f64,
pub pipeline_id: String,
pub frozen: MaybeUndefined<bool>,
}Expand description
Input for creating a new release stage.
Fields§
§id: MaybeUndefined<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
name: StringThe name of the stage.
color: StringThe UI color of the stage as a HEX string.
type: ReleaseStageTypeThe type of the stage.
position: f64The position of the stage.
pipeline_id: StringThe identifier of the pipeline this stage belongs to.
frozen: MaybeUndefined<bool>Whether this stage is frozen. Only applicable to started stages.
Trait Implementations§
Source§impl Clone for ReleaseStageCreateInput
impl Clone for ReleaseStageCreateInput
Source§fn clone(&self) -> ReleaseStageCreateInput
fn clone(&self) -> ReleaseStageCreateInput
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 ReleaseStageCreateInput
impl Debug for ReleaseStageCreateInput
Source§impl<'de> Deserialize<'de> for ReleaseStageCreateInput
impl<'de> Deserialize<'de> for ReleaseStageCreateInput
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 ReleaseStageCreateInput
impl RefUnwindSafe for ReleaseStageCreateInput
impl Send for ReleaseStageCreateInput
impl Sync for ReleaseStageCreateInput
impl Unpin for ReleaseStageCreateInput
impl UnsafeUnpin for ReleaseStageCreateInput
impl UnwindSafe for ReleaseStageCreateInput
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