#[non_exhaustive]pub struct SuiteRunInformation {
pub suite_definition_id: Option<String>,
pub suite_definition_version: Option<String>,
pub suite_definition_name: Option<String>,
pub suite_run_id: Option<String>,
pub created_at: Option<DateTime>,
pub started_at: Option<DateTime>,
pub end_at: Option<DateTime>,
pub status: Option<SuiteRunStatus>,
pub passed: Option<i32>,
pub failed: Option<i32>,
}
Expand description
Information about the suite run.
Requires permission to access the SuiteRunInformation action.
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.suite_definition_id: Option<String>
Suite definition ID of the suite run.
suite_definition_version: Option<String>
Suite definition version of the suite run.
suite_definition_name: Option<String>
Suite definition name of the suite run.
suite_run_id: Option<String>
Suite run ID of the suite run.
created_at: Option<DateTime>
Date (in Unix epoch time) when the suite run was created.
started_at: Option<DateTime>
Date (in Unix epoch time) when the suite run was started.
end_at: Option<DateTime>
Date (in Unix epoch time) when the suite run ended.
status: Option<SuiteRunStatus>
Status of the suite run.
passed: Option<i32>
Number of test cases that passed in the suite run.
failed: Option<i32>
Number of test cases that failed in the suite run.
Implementations§
source§impl SuiteRunInformation
impl SuiteRunInformation
sourcepub fn suite_definition_id(&self) -> Option<&str>
pub fn suite_definition_id(&self) -> Option<&str>
Suite definition ID of the suite run.
sourcepub fn suite_definition_version(&self) -> Option<&str>
pub fn suite_definition_version(&self) -> Option<&str>
Suite definition version of the suite run.
sourcepub fn suite_definition_name(&self) -> Option<&str>
pub fn suite_definition_name(&self) -> Option<&str>
Suite definition name of the suite run.
sourcepub fn suite_run_id(&self) -> Option<&str>
pub fn suite_run_id(&self) -> Option<&str>
Suite run ID of the suite run.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
Date (in Unix epoch time) when the suite run was created.
sourcepub fn started_at(&self) -> Option<&DateTime>
pub fn started_at(&self) -> Option<&DateTime>
Date (in Unix epoch time) when the suite run was started.
sourcepub fn status(&self) -> Option<&SuiteRunStatus>
pub fn status(&self) -> Option<&SuiteRunStatus>
Status of the suite run.
source§impl SuiteRunInformation
impl SuiteRunInformation
sourcepub fn builder() -> SuiteRunInformationBuilder
pub fn builder() -> SuiteRunInformationBuilder
Creates a new builder-style object to manufacture SuiteRunInformation
.
Trait Implementations§
source§impl Clone for SuiteRunInformation
impl Clone for SuiteRunInformation
source§fn clone(&self) -> SuiteRunInformation
fn clone(&self) -> SuiteRunInformation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SuiteRunInformation
impl Debug for SuiteRunInformation
source§impl PartialEq for SuiteRunInformation
impl PartialEq for SuiteRunInformation
source§fn eq(&self, other: &SuiteRunInformation) -> bool
fn eq(&self, other: &SuiteRunInformation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SuiteRunInformation
Auto Trait Implementations§
impl Freeze for SuiteRunInformation
impl RefUnwindSafe for SuiteRunInformation
impl Send for SuiteRunInformation
impl Sync for SuiteRunInformation
impl Unpin for SuiteRunInformation
impl UnwindSafe for SuiteRunInformation
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