pub struct AllowList {
pub github_owned_allowed: bool,
pub verified_allowed: bool,
pub patterns_allowed: Vec<String>,
}Expand description
The allow list used when only selected actions may run.
Fields§
§github_owned_allowed: boolWhether actions created by GitHub are allowed.
verified_allowed: boolWhether actions from verified creators are allowed.
patterns_allowed: Vec<String>Allowed action patterns.
Implementations§
Source§impl AllowList
impl AllowList
pub(crate) fn normalized(self) -> Self
Trait Implementations§
Source§impl ActionsGroup for AllowList
impl ActionsGroup for AllowList
impl Eq for AllowList
Source§impl From<AllowListResponse> for AllowList
impl From<AllowListResponse> for AllowList
Source§fn from(response: AllowListResponse) -> Self
fn from(response: AllowListResponse) -> Self
Converts to this type from the input type.
Source§impl GroupType for AllowList
impl GroupType for AllowList
Source§const NAME: &'static str = "selected_actions"
const NAME: &'static str = "selected_actions"
The group’s name in the report and in the configuration.
Source§fn compare(&self, live: &Self, diff: &mut FieldDiff)
fn compare(&self, live: &Self, diff: &mut FieldDiff)
Compare the declared group with the live one.
Source§fn limitation() -> Limitation
fn limitation() -> Limitation
What the report says when the live group cannot be read.
impl StructuralPartialEq for AllowList
Auto Trait Implementations§
impl Freeze for AllowList
impl RefUnwindSafe for AllowList
impl Send for AllowList
impl Sync for AllowList
impl Unpin for AllowList
impl UnsafeUnpin for AllowList
impl UnwindSafe for AllowList
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.