pub struct ActionsOrganizationPermissions {
pub enabled_repositories: EnabledRepositories,
pub selected_repositories_url: Option<String>,
pub allowed_actions: Option<AllowedActions>,
pub selected_actions_url: Option<String>,
}
Fields§
§enabled_repositories: EnabledRepositories
§selected_repositories_url: Option<String>
The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when enabled_repositories
is set to selected
.
allowed_actions: Option<AllowedActions>
§selected_actions_url: Option<String>
The API URL to use to get or set the actions and reusable workflows that are allowed to run, when allowed_actions
is set to selected
.
Implementations§
Source§impl ActionsOrganizationPermissions
impl ActionsOrganizationPermissions
pub fn new( enabled_repositories: EnabledRepositories, ) -> ActionsOrganizationPermissions
Trait Implementations§
Source§impl Clone for ActionsOrganizationPermissions
impl Clone for ActionsOrganizationPermissions
Source§fn clone(&self) -> ActionsOrganizationPermissions
fn clone(&self) -> ActionsOrganizationPermissions
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 Default for ActionsOrganizationPermissions
impl Default for ActionsOrganizationPermissions
Source§fn default() -> ActionsOrganizationPermissions
fn default() -> ActionsOrganizationPermissions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionsOrganizationPermissions
impl<'de> Deserialize<'de> for ActionsOrganizationPermissions
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 PartialEq for ActionsOrganizationPermissions
impl PartialEq for ActionsOrganizationPermissions
Source§fn eq(&self, other: &ActionsOrganizationPermissions) -> bool
fn eq(&self, other: &ActionsOrganizationPermissions) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActionsOrganizationPermissions
Auto Trait Implementations§
impl Freeze for ActionsOrganizationPermissions
impl RefUnwindSafe for ActionsOrganizationPermissions
impl Send for ActionsOrganizationPermissions
impl Sync for ActionsOrganizationPermissions
impl Unpin for ActionsOrganizationPermissions
impl UnwindSafe for ActionsOrganizationPermissions
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