Struct PipelineGeneralSettings

Source
pub struct PipelineGeneralSettings {
Show 19 fields pub audit_enforce_settable_var: Option<bool>, pub builds_enabled_for_forks: Option<bool>, pub disable_classic_build_pipeline_creation: Option<bool>, pub disable_classic_pipeline_creation: Option<bool>, pub disable_classic_release_pipeline_creation: Option<bool>, pub enable_shell_tasks_args_sanitizing: Option<bool>, pub enable_shell_tasks_args_sanitizing_audit: Option<bool>, pub enforce_job_auth_scope: Option<bool>, pub enforce_job_auth_scope_for_forks: Option<bool>, pub enforce_job_auth_scope_for_releases: Option<bool>, pub enforce_no_access_to_secrets_from_forks: Option<bool>, pub enforce_referenced_repo_scoped_token: Option<bool>, pub enforce_settable_var: Option<bool>, pub fork_protection_enabled: Option<bool>, pub is_comment_required_for_pull_request: Option<bool>, pub publish_pipeline_metadata: Option<bool>, pub require_comments_for_non_team_member_and_non_contributors: Option<bool>, pub require_comments_for_non_team_members_only: Option<bool>, pub status_badges_are_private: Option<bool>,
}
Expand description

Contains pipeline general settings.

Fields§

§audit_enforce_settable_var: Option<bool>

If enabled, audit logs will be generated whenever someone queues a pipeline run and defines variables that are not marked as “Settable at queue time”.

§builds_enabled_for_forks: Option<bool>

Enable forked repositories to build pull requests.

§disable_classic_build_pipeline_creation: Option<bool>

Disable classic build pipelines creation.

§disable_classic_pipeline_creation: Option<bool>

Disable classic pipelines creation.

§disable_classic_release_pipeline_creation: Option<bool>

Disable classic release pipelines creation.

§enable_shell_tasks_args_sanitizing: Option<bool>

Enable shell tasks args sanitizing.

§enable_shell_tasks_args_sanitizing_audit: Option<bool>

Enable shell tasks args sanitizing preview.

§enforce_job_auth_scope: Option<bool>

If enabled, scope of access for all non-release pipelines reduces to the current project.

§enforce_job_auth_scope_for_forks: Option<bool>

Enforce job auth scope for builds of forked repositories.

§enforce_job_auth_scope_for_releases: Option<bool>

If enabled, scope of access for all release pipelines reduces to the current project.

§enforce_no_access_to_secrets_from_forks: Option<bool>

Enforce no access to secrets for builds of forked repositories.

§enforce_referenced_repo_scoped_token: Option<bool>

Restricts the scope of access for all pipelines to only repositories explicitly referenced by the pipeline.

§enforce_settable_var: Option<bool>

If enabled, only those variables that are explicitly marked as “Settable at queue time” can be set at queue time.

§fork_protection_enabled: Option<bool>

Enable settings that enforce certain levels of protection for building pull requests from forks globally.

§is_comment_required_for_pull_request: Option<bool>

Make comments required to have builds in all pull requests.

§publish_pipeline_metadata: Option<bool>

Allows pipelines to record metadata.

§require_comments_for_non_team_member_and_non_contributors: Option<bool>

Make comments required to have builds in pull requests from non-team members and non-contributors.

§require_comments_for_non_team_members_only: Option<bool>

Make comments required to have builds in pull requests from non-team members.

§status_badges_are_private: Option<bool>

Anonymous users can access the status badge API for all pipelines unless this option is enabled.

Implementations§

Trait Implementations§

Source§

impl Clone for PipelineGeneralSettings

Source§

fn clone(&self) -> PipelineGeneralSettings

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PipelineGeneralSettings

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for PipelineGeneralSettings

Source§

fn default() -> PipelineGeneralSettings

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for PipelineGeneralSettings

Source§

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 PipelineGeneralSettings

Source§

fn eq(&self, other: &PipelineGeneralSettings) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PipelineGeneralSettings

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for PipelineGeneralSettings

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T