pub enum Limitation {
Show 23 variants
TeamNotInOrganization {
team: TeamName,
forge: &'static str,
},
TeamOrganizationPermission {
team: TeamName,
actual: String,
expected: String,
},
TeamInherited {
team: TeamName,
forge: &'static str,
},
TeamPermissionIsOrganizationWide {
team: TeamName,
actual: String,
expected: String,
forge: &'static str,
},
TeamRoleNeedsOrganization {
team: TeamName,
role: String,
},
CollaboratorRoleNeedsOrganization {
user: UserName,
role: String,
},
NotReported {
field: &'static str,
},
WrittenOnEveryApply {
field: &'static str,
},
Unavailable {
field: &'static str,
},
EnforcedByOwner {
field: &'static str,
},
Ignored {
field: &'static str,
switch: &'static str,
},
MirrorOnly,
ActionsUnavailable {
group: &'static str,
},
ActionsPrivateOnly {
group: &'static str,
},
SecurityUnreadable {
field: &'static str,
},
CustomPropertiesUnsupported,
EnvironmentRuleUnmanaged {
environment: String,
rule: String,
},
VariablesWithoutEnvironment {
environment: Option<String>,
},
WebhookKindLeftAlone {
id: u64,
kind: String,
},
WebhookSecretKept {
url: String,
},
RequiredReviewersDropped {
ruleset: String,
},
UnmanagedRuleType {
ruleset: String,
kind: String,
},
UnaddressableRule {
name: String,
},
}Expand description
A setting the forge exposes but the plan cannot change or manage.
Variants§
TeamNotInOrganization
A declared team is not in the organization.
TeamOrganizationPermission
A team exists, but its organization-wide permission is not the declared one.
Fields
TeamInherited
A team reaches the repository through an all-repositories team.
TeamPermissionIsOrganizationWide
The forge only changes team permissions organization-wide.
Fields
TeamRoleNeedsOrganization
A team needs a custom role, which personal repositories lack.
CollaboratorRoleNeedsOrganization
A collaborator needs a custom role, which personal repositories lack.
NotReported
The forge does not report a setting, so it cannot be compared.
WrittenOnEveryApply
The forge does not report a setting, so it is written on every apply.
A setting does not exist for this repository.
EnforcedByOwner
A setting is fixed by the owner.
Ignored
A declared setting has no effect because another one switches it off.
Fields
MirrorOnly
The mirror settings are declared for a repository that is no mirror.
A GitHub Actions settings group cannot be read or written.
ActionsPrivateOnly
A GitHub Actions settings group exists for private repositories only.
SecurityUnreadable
A security setting cannot be read.
CustomPropertiesUnsupported
The repository has no custom properties.
EnvironmentRuleUnmanaged
An environment protection rule is not managed.
VariablesWithoutEnvironment
The variables of an environment that does not exist are not managed.
WebhookKindLeftAlone
A webhook of another kind is left alone.
WebhookSecretKept
A hand-set secret is kept, so the delivery settings stay unchanged.
RequiredReviewersDropped
A ruleset has required reviewers, which an update drops.
UnmanagedRuleType
A ruleset has a rule type the configuration cannot declare.
UnaddressableRule
A branch rule cannot be addressed by the API routes.
Trait Implementations§
Source§impl Clone for Limitation
impl Clone for Limitation
Source§fn clone(&self) -> Limitation
fn clone(&self) -> Limitation
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Limitation
impl Debug for Limitation
Source§impl Display for Limitation
impl Display for Limitation
impl Eq for Limitation
Source§impl PartialEq for Limitation
impl PartialEq for Limitation
impl StructuralPartialEq for Limitation
Auto Trait Implementations§
impl Freeze for Limitation
impl RefUnwindSafe for Limitation
impl Send for Limitation
impl Sync for Limitation
impl Unpin for Limitation
impl UnsafeUnpin for Limitation
impl UnwindSafe for Limitation
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
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
key and return true if they are equal.