Struct aws_sdk_codecommit::operation::test_repository_triggers::TestRepositoryTriggersOutput
source · #[non_exhaustive]pub struct TestRepositoryTriggersOutput {
pub successful_executions: Option<Vec<String>>,
pub failed_executions: Option<Vec<RepositoryTriggerExecutionFailure>>,
/* private fields */
}
Expand description
Represents the output of a test repository triggers operation.
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.successful_executions: Option<Vec<String>>
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
failed_executions: Option<Vec<RepositoryTriggerExecutionFailure>>
The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.
Implementations§
source§impl TestRepositoryTriggersOutput
impl TestRepositoryTriggersOutput
sourcepub fn successful_executions(&self) -> &[String]
pub fn successful_executions(&self) -> &[String]
The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .successful_executions.is_none()
.
sourcepub fn failed_executions(&self) -> &[RepositoryTriggerExecutionFailure]
pub fn failed_executions(&self) -> &[RepositoryTriggerExecutionFailure]
The list of triggers that were not tested. This list provides the names of the triggers that could not be tested, separated by commas.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failed_executions.is_none()
.
source§impl TestRepositoryTriggersOutput
impl TestRepositoryTriggersOutput
sourcepub fn builder() -> TestRepositoryTriggersOutputBuilder
pub fn builder() -> TestRepositoryTriggersOutputBuilder
Creates a new builder-style object to manufacture TestRepositoryTriggersOutput
.
Trait Implementations§
source§impl Clone for TestRepositoryTriggersOutput
impl Clone for TestRepositoryTriggersOutput
source§fn clone(&self) -> TestRepositoryTriggersOutput
fn clone(&self) -> TestRepositoryTriggersOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestRepositoryTriggersOutput
impl Debug for TestRepositoryTriggersOutput
source§impl PartialEq for TestRepositoryTriggersOutput
impl PartialEq for TestRepositoryTriggersOutput
source§fn eq(&self, other: &TestRepositoryTriggersOutput) -> bool
fn eq(&self, other: &TestRepositoryTriggersOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for TestRepositoryTriggersOutput
impl RequestId for TestRepositoryTriggersOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for TestRepositoryTriggersOutput
Auto Trait Implementations§
impl Freeze for TestRepositoryTriggersOutput
impl RefUnwindSafe for TestRepositoryTriggersOutput
impl Send for TestRepositoryTriggersOutput
impl Sync for TestRepositoryTriggersOutput
impl Unpin for TestRepositoryTriggersOutput
impl UnwindSafe for TestRepositoryTriggersOutput
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