Struct azure_devops_rust_api::release::models::ApprovalOptions
source · pub struct ApprovalOptions {
pub auto_triggered_and_previous_environment_approved_can_be_skipped: Option<bool>,
pub enforce_identity_revalidation: Option<bool>,
pub execution_order: Option<ExecutionOrder>,
pub release_creator_can_be_approver: Option<bool>,
pub required_approver_count: Option<i32>,
pub timeout_in_minutes: Option<i32>,
}
Expand description
Fields§
§auto_triggered_and_previous_environment_approved_can_be_skipped: Option<bool>
Specify whether the approval can be skipped if the same approver approved the previous stage.
enforce_identity_revalidation: Option<bool>
Specify whether revalidate identity of approver before completing the approval.
execution_order: Option<ExecutionOrder>
Approvals execution order.
release_creator_can_be_approver: Option<bool>
Specify whether the user requesting a release or deployment should allow to approver.
required_approver_count: Option<i32>
The number of approvals required to move release forward. ‘0’ means all approvals required.
timeout_in_minutes: Option<i32>
Approval timeout. Approval default timeout is 30 days. Maximum allowed timeout is 365 days. ‘0’ means default timeout i.e 30 days.
Implementations§
Trait Implementations§
source§impl Clone for ApprovalOptions
impl Clone for ApprovalOptions
source§fn clone(&self) -> ApprovalOptions
fn clone(&self) -> ApprovalOptions
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 ApprovalOptions
impl Debug for ApprovalOptions
source§impl Default for ApprovalOptions
impl Default for ApprovalOptions
source§fn default() -> ApprovalOptions
fn default() -> ApprovalOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ApprovalOptions
impl<'de> Deserialize<'de> for ApprovalOptions
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 ApprovalOptions
impl PartialEq for ApprovalOptions
source§fn eq(&self, other: &ApprovalOptions) -> bool
fn eq(&self, other: &ApprovalOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ApprovalOptions
impl Serialize for ApprovalOptions
impl StructuralPartialEq for ApprovalOptions
Auto Trait Implementations§
impl RefUnwindSafe for ApprovalOptions
impl Send for ApprovalOptions
impl Sync for ApprovalOptions
impl Unpin for ApprovalOptions
impl UnwindSafe for ApprovalOptions
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