Struct azure_devops_rust_api::release::models::ReleaseApproval
source · pub struct ReleaseApproval {Show 17 fields
pub approval_type: Option<ApprovalType>,
pub approved_by: Option<IdentityRef>,
pub approver: Option<IdentityRef>,
pub attempt: Option<i32>,
pub comments: Option<String>,
pub created_on: Option<OffsetDateTime>,
pub history: Vec<ReleaseApprovalHistory>,
pub id: Option<i32>,
pub is_automated: Option<bool>,
pub modified_on: Option<OffsetDateTime>,
pub rank: Option<i32>,
pub release: Option<ReleaseShallowReference>,
pub release_definition: Option<ReleaseDefinitionShallowReference>,
pub release_environment: Option<ReleaseEnvironmentShallowReference>,
pub revision: Option<i32>,
pub status: Option<Status>,
pub url: Option<String>,
}
Expand description
Fields§
§approval_type: Option<ApprovalType>
Gets or sets the type of approval.
approved_by: Option<IdentityRef>
§approver: Option<IdentityRef>
§attempt: Option<i32>
Gets or sets attempt which specifies as which deployment attempt it belongs.
comments: Option<String>
Gets or sets comments for approval.
created_on: Option<OffsetDateTime>
Gets date on which it got created.
history: Vec<ReleaseApprovalHistory>
Gets history which specifies all approvals associated with this approval.
id: Option<i32>
Gets the unique identifier of this field.
is_automated: Option<bool>
Gets or sets as approval is automated or not.
modified_on: Option<OffsetDateTime>
Gets date on which it got modified.
rank: Option<i32>
Gets or sets rank which specifies the order of the approval. e.g. Same rank denotes parallel approval.
release: Option<ReleaseShallowReference>
§release_definition: Option<ReleaseDefinitionShallowReference>
§release_environment: Option<ReleaseEnvironmentShallowReference>
§revision: Option<i32>
Gets the revision number.
status: Option<Status>
Gets or sets the status of the approval.
url: Option<String>
Gets url to access the approval.
Implementations§
Trait Implementations§
source§impl Clone for ReleaseApproval
impl Clone for ReleaseApproval
source§fn clone(&self) -> ReleaseApproval
fn clone(&self) -> ReleaseApproval
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 ReleaseApproval
impl Debug for ReleaseApproval
source§impl Default for ReleaseApproval
impl Default for ReleaseApproval
source§fn default() -> ReleaseApproval
fn default() -> ReleaseApproval
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReleaseApproval
impl<'de> Deserialize<'de> for ReleaseApproval
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 for ReleaseApproval
impl PartialEq for ReleaseApproval
source§fn eq(&self, other: &ReleaseApproval) -> bool
fn eq(&self, other: &ReleaseApproval) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ReleaseApproval
impl Serialize for ReleaseApproval
impl StructuralPartialEq for ReleaseApproval
Auto Trait Implementations§
impl RefUnwindSafe for ReleaseApproval
impl Send for ReleaseApproval
impl Sync for ReleaseApproval
impl Unpin for ReleaseApproval
impl UnwindSafe for ReleaseApproval
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