Struct aws_sdk_codebuild::types::ScopeConfiguration
source · #[non_exhaustive]pub struct ScopeConfiguration {
pub name: String,
pub domain: Option<String>,
pub scope: WebhookScopeType,
}
Expand description
Contains configuration information about the scope for a webhook.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: String
The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
domain: Option<String>
The domain of the GitHub Enterprise organization. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE
scope: WebhookScopeType
The type of scope for a GitHub webhook.
Implementations§
source§impl ScopeConfiguration
impl ScopeConfiguration
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The domain of the GitHub Enterprise organization. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE
sourcepub fn scope(&self) -> &WebhookScopeType
pub fn scope(&self) -> &WebhookScopeType
The type of scope for a GitHub webhook.
source§impl ScopeConfiguration
impl ScopeConfiguration
sourcepub fn builder() -> ScopeConfigurationBuilder
pub fn builder() -> ScopeConfigurationBuilder
Creates a new builder-style object to manufacture ScopeConfiguration
.
Trait Implementations§
source§impl Clone for ScopeConfiguration
impl Clone for ScopeConfiguration
source§fn clone(&self) -> ScopeConfiguration
fn clone(&self) -> ScopeConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScopeConfiguration
impl Debug for ScopeConfiguration
source§impl PartialEq for ScopeConfiguration
impl PartialEq for ScopeConfiguration
source§fn eq(&self, other: &ScopeConfiguration) -> bool
fn eq(&self, other: &ScopeConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScopeConfiguration
Auto Trait Implementations§
impl Freeze for ScopeConfiguration
impl RefUnwindSafe for ScopeConfiguration
impl Send for ScopeConfiguration
impl Sync for ScopeConfiguration
impl Unpin for ScopeConfiguration
impl UnwindSafe for ScopeConfiguration
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> 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>
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>
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