pub struct ReleaseDefinition {
Show 19 fields pub release_definition_shallow_reference: ReleaseDefinitionShallowReference, pub artifacts: Vec<Artifact>, pub comment: Option<String>, pub created_by: Option<IdentityRef>, pub created_on: Option<OffsetDateTime>, pub description: Option<String>, pub environments: Vec<ReleaseDefinitionEnvironment>, pub is_deleted: Option<bool>, pub last_release: Option<ReleaseReference>, pub modified_by: Option<IdentityRef>, pub modified_on: Option<OffsetDateTime>, pub properties: Option<PropertiesCollection>, pub release_name_format: Option<String>, pub revision: Option<i32>, pub source: Option<Source>, pub tags: Vec<String>, pub triggers: Vec<ReleaseTriggerBase>, pub variable_groups: Vec<i32>, pub variables: Option<Value>,
}
Expand description

Fields§

§release_definition_shallow_reference: ReleaseDefinitionShallowReference§artifacts: Vec<Artifact>

Gets or sets the list of artifacts.

§comment: Option<String>

Gets or sets comment.

§created_by: Option<IdentityRef>
§created_on: Option<OffsetDateTime>

Gets date on which it got created.

§description: Option<String>

Gets or sets the description.

§environments: Vec<ReleaseDefinitionEnvironment>

Gets or sets the list of environments.

§is_deleted: Option<bool>

Whether release definition is deleted.

§last_release: Option<ReleaseReference>
§modified_by: Option<IdentityRef>
§modified_on: Option<OffsetDateTime>

Gets date on which it got modified.

§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.

§release_name_format: Option<String>

Gets or sets the release name format.

§revision: Option<i32>

Gets the revision number.

§source: Option<Source>

Gets or sets source of release definition.

§tags: Vec<String>

Gets or sets list of tags.

§triggers: Vec<ReleaseTriggerBase>

Gets or sets the list of triggers.

§variable_groups: Vec<i32>

Gets or sets the list of variable groups.

§variables: Option<Value>

Gets or sets the dictionary of variables.

Implementations§

Trait Implementations§

source§

impl Clone for ReleaseDefinition

source§

fn clone(&self) -> ReleaseDefinition

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ReleaseDefinition

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ReleaseDefinition

source§

fn default() -> ReleaseDefinition

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ReleaseDefinition

source§

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 for ReleaseDefinition

source§

fn eq(&self, other: &ReleaseDefinition) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for ReleaseDefinition

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for ReleaseDefinition

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,