pub struct SelectedActions<'a> {
pub github_owned_allowed: Option<bool>,
pub verified_allowed: Option<bool>,
pub patterns_allowed: Option<Cow<'a, [Cow<'a, str>]>>,
pub additionalProperties: HashMap<Cow<'a, str>, Value>,
}
Fields§
§github_owned_allowed: Option<bool>
Whether GitHub-owned actions are allowed. For example, this includes the actions in the actions
organization.
verified_allowed: Option<bool>
Whether actions from GitHub Marketplace verified creators are allowed. Set to true
to allow all actions by GitHub Marketplace verified creators.
patterns_allowed: Option<Cow<'a, [Cow<'a, str>]>>
Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*
, monalisa/octocat@v2
, monalisa/*
.“
additionalProperties: HashMap<Cow<'a, str>, Value>
Trait Implementations§
Source§impl<'a> Clone for SelectedActions<'a>
impl<'a> Clone for SelectedActions<'a>
Source§fn clone(&self) -> SelectedActions<'a>
fn clone(&self) -> SelectedActions<'a>
Returns a duplicate 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<'a> Debug for SelectedActions<'a>
impl<'a> Debug for SelectedActions<'a>
Source§impl<'a> Default for SelectedActions<'a>
impl<'a> Default for SelectedActions<'a>
Source§fn default() -> SelectedActions<'a>
fn default() -> SelectedActions<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SelectedActions<'a>
impl<'de, 'a> Deserialize<'de> for SelectedActions<'a>
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<'a> PartialEq for SelectedActions<'a>
impl<'a> PartialEq for SelectedActions<'a>
Source§impl<'a> Serialize for SelectedActions<'a>
impl<'a> Serialize for SelectedActions<'a>
impl<'a> Eq for SelectedActions<'a>
impl<'a> StructuralPartialEq for SelectedActions<'a>
Auto Trait Implementations§
impl<'a> Freeze for SelectedActions<'a>
impl<'a> RefUnwindSafe for SelectedActions<'a>
impl<'a> Send for SelectedActions<'a>
impl<'a> Sync for SelectedActions<'a>
impl<'a> Unpin for SelectedActions<'a>
impl<'a> UnwindSafe for SelectedActions<'a>
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,
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.