pub struct CapabilityRequests {
pub nix_packaging: bool,
pub reporting_policy: bool,
pub scorecard: bool,
pub code_scanning: Option<Provider>,
pub workflow_guards: Option<bool>,
}Expand description
The optional products the target requested.
Fields§
§nix_packaging: boolThe seeded package expression and the seed flake pair.
reporting_policy: boolThe landed vulnerability reporting policy.
scorecard: boolThe OpenSSF Scorecard workflow.
code_scanning: Option<Provider>The code scanning workflow, by provider.
workflow_guards: Option<bool>The workflow guards: the agent and commit policy lines, the glossary, the workflow hooks, and two setup steps. A record that predates the capability carries no key: that is the pending answer, and it reads as kept until the operator answers it.
Implementations§
Source§impl CapabilityRequests
impl CapabilityRequests
Sourcepub fn workflow_guards(&self) -> bool
pub fn workflow_guards(&self) -> bool
Whether the workflow guards land. The pending answer of a record that predates the capability reads as kept, because every such target carries them.
Trait Implementations§
Source§impl Clone for CapabilityRequests
impl Clone for CapabilityRequests
Source§impl Debug for CapabilityRequests
impl Debug for CapabilityRequests
Source§impl<'de> Deserialize<'de> for CapabilityRequests
impl<'de> Deserialize<'de> for CapabilityRequests
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 CapabilityRequests
Source§impl PartialEq for CapabilityRequests
impl PartialEq for CapabilityRequests
Source§impl Serialize for CapabilityRequests
impl Serialize for CapabilityRequests
impl StructuralPartialEq for CapabilityRequests
Auto Trait Implementations§
impl Forget for CapabilityRequests
impl Freeze for CapabilityRequests
impl Move for CapabilityRequests
impl RefUnwindSafe for CapabilityRequests
impl Send for CapabilityRequests
impl Sync for CapabilityRequests
impl Unpin for CapabilityRequests
impl UnsafeUnpin for CapabilityRequests
impl UnwindSafe for CapabilityRequests
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.