Struct azure_devops_rust_api::release::models::ReleaseStartMetadata
source · pub struct ReleaseStartMetadata {
pub artifacts: Vec<ArtifactMetadata>,
pub definition_id: Option<i32>,
pub description: Option<String>,
pub environments_metadata: Vec<ReleaseStartEnvironmentMetadata>,
pub is_draft: Option<bool>,
pub manual_environments: Vec<String>,
pub properties: Option<PropertiesCollection>,
pub reason: Option<Reason>,
pub variables: Option<Value>,
}Expand description
Fields§
§artifacts: Vec<ArtifactMetadata>Sets list of artifact to create a release.
definition_id: Option<i32>Sets definition Id to create a release.
description: Option<String>Sets description to create a release.
environments_metadata: Vec<ReleaseStartEnvironmentMetadata>Sets list of environments meta data.
is_draft: Option<bool>Sets ‘true’ to create release in draft mode, ‘false’ otherwise.
manual_environments: Vec<String>Sets list of environments to manual as condition.
properties: Option<PropertiesCollection>The class represents a property bag as a collection of key-value pairs. Values of all primitive types (any type with a TypeCode != TypeCode.Object) except for DBNull are accepted. Values of type Byte[], Int32, Double, DateType and String preserve their type, other primitives are retuned as a String. Byte[] expected as base64 encoded string.
reason: Option<Reason>Sets reason to create a release.
variables: Option<Value>Sets list of release variables to be overridden at deployment time.
Implementations§
Trait Implementations§
source§impl Clone for ReleaseStartMetadata
impl Clone for ReleaseStartMetadata
source§fn clone(&self) -> ReleaseStartMetadata
fn clone(&self) -> ReleaseStartMetadata
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 ReleaseStartMetadata
impl Debug for ReleaseStartMetadata
source§impl Default for ReleaseStartMetadata
impl Default for ReleaseStartMetadata
source§fn default() -> ReleaseStartMetadata
fn default() -> ReleaseStartMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReleaseStartMetadata
impl<'de> Deserialize<'de> for ReleaseStartMetadata
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<ReleaseStartMetadata> for ReleaseStartMetadata
impl PartialEq<ReleaseStartMetadata> for ReleaseStartMetadata
source§fn eq(&self, other: &ReleaseStartMetadata) -> bool
fn eq(&self, other: &ReleaseStartMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.