pub struct GitLabEventsConfig {
pub gitlab_config: Option<GitLabConfig>,
pub gitlab_config_resource: Option<String>,
pub project_namespace: Option<String>,
pub pull_request: Option<PullRequestFilter>,
pub push: Option<PushFilter>,
}Expand description
GitLabEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab event is received.
This type is not used in any activity, and only used as part of another schema.
Fields§
§gitlab_config: Option<GitLabConfig>Output only. The GitLabConfig specified in the gitlab_config_resource field.
gitlab_config_resource: Option<String>The GitLab config resource that this trigger config maps to.
project_namespace: Option<String>Namespace of the GitLab project.
pull_request: Option<PullRequestFilter>Filter to match changes in pull requests.
push: Option<PushFilter>Filter to match changes in refs like branches, tags.
Trait Implementations§
Source§impl Clone for GitLabEventsConfig
impl Clone for GitLabEventsConfig
Source§fn clone(&self) -> GitLabEventsConfig
fn clone(&self) -> GitLabEventsConfig
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 Debug for GitLabEventsConfig
impl Debug for GitLabEventsConfig
Source§impl Default for GitLabEventsConfig
impl Default for GitLabEventsConfig
Source§fn default() -> GitLabEventsConfig
fn default() -> GitLabEventsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitLabEventsConfig
impl<'de> Deserialize<'de> for GitLabEventsConfig
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 Serialize for GitLabEventsConfig
impl Serialize for GitLabEventsConfig
impl Part for GitLabEventsConfig
Auto Trait Implementations§
impl Freeze for GitLabEventsConfig
impl RefUnwindSafe for GitLabEventsConfig
impl Send for GitLabEventsConfig
impl Sync for GitLabEventsConfig
impl Unpin for GitLabEventsConfig
impl UnwindSafe for GitLabEventsConfig
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more