#[non_exhaustive]pub struct ApprovalStageResolution {
pub kind: String,
pub diagnostic: Option<String>,
pub argv_prefix: Option<Vec<String>>,
}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.kind: String§diagnostic: Option<String>§argv_prefix: Option<Vec<String>>Implementations§
Source§impl ApprovalStageResolution
The ApprovalStageResolution.kind wire words (same single-source rule).
impl ApprovalStageResolution
The ApprovalStageResolution.kind wire words (same single-source rule).
pub const KIND_UNRESOLVED: &'static str = "unresolved"
pub const KIND_KNOWN_SAFE: &'static str = "knownSafe"
pub const KIND_POLICY_ALLOW: &'static str = "policyAllow"
pub const KIND_ALLOW_ONCE: &'static str = "allowOnce"
pub const KIND_POLICY_AMENDMENT: &'static str = "policyAmendment"
Trait Implementations§
Source§impl Clone for ApprovalStageResolution
impl Clone for ApprovalStageResolution
Source§impl Debug for ApprovalStageResolution
impl Debug for ApprovalStageResolution
Source§impl<'de> Deserialize<'de> for ApprovalStageResolution
impl<'de> Deserialize<'de> for ApprovalStageResolution
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 ApprovalStageResolution
Source§impl PartialEq for ApprovalStageResolution
impl PartialEq for ApprovalStageResolution
Source§impl Serialize for ApprovalStageResolution
impl Serialize for ApprovalStageResolution
impl StructuralPartialEq for ApprovalStageResolution
Auto Trait Implementations§
impl Freeze for ApprovalStageResolution
impl RefUnwindSafe for ApprovalStageResolution
impl Send for ApprovalStageResolution
impl Sync for ApprovalStageResolution
impl Unpin for ApprovalStageResolution
impl UnsafeUnpin for ApprovalStageResolution
impl UnwindSafe for ApprovalStageResolution
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