#[non_exhaustive]pub struct ApprovalStageEvidence {
pub requirement_id: ApprovalRequirementRef,
pub position: usize,
pub total_stages: usize,
pub argv: Vec<String>,
pub resolution: ApprovalStageResolution,
}Expand description
How one stage of a shell approval was resolved when the decision became
final.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.requirement_id: ApprovalRequirementRefThe stage’s requirement id.
position: usizeThe stage’s 1-based position in the command.
total_stages: usizeThe total number of stages in the command.
argv: Vec<String>The stage’s command words as parsed.
resolution: ApprovalStageResolutionHow the stage was resolved at the final decision.
Trait Implementations§
Source§impl Clone for ApprovalStageEvidence
impl Clone for ApprovalStageEvidence
Source§impl Debug for ApprovalStageEvidence
impl Debug for ApprovalStageEvidence
Source§impl<'de> Deserialize<'de> for ApprovalStageEvidence
impl<'de> Deserialize<'de> for ApprovalStageEvidence
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
impl Eq for ApprovalStageEvidence
Source§impl PartialEq for ApprovalStageEvidence
impl PartialEq for ApprovalStageEvidence
Source§impl Serialize for ApprovalStageEvidence
impl Serialize for ApprovalStageEvidence
impl StructuralPartialEq for ApprovalStageEvidence
Auto Trait Implementations§
impl Forget for ApprovalStageEvidence
impl Freeze for ApprovalStageEvidence
impl Move for ApprovalStageEvidence
impl RefUnwindSafe for ApprovalStageEvidence
impl Send for ApprovalStageEvidence
impl Sync for ApprovalStageEvidence
impl Unpin for ApprovalStageEvidence
impl UnsafeUnpin for ApprovalStageEvidence
impl UnwindSafe for ApprovalStageEvidence
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