Struct aws_sdk_devicefarm::types::TestGridSessionAction
source · #[non_exhaustive]pub struct TestGridSessionAction {
pub action: Option<String>,
pub started: Option<DateTime>,
pub duration: Option<i64>,
pub status_code: Option<String>,
pub request_method: Option<String>,
}
Expand description
An action taken by a TestGridSession
browser instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.action: Option<String>
The action taken by the session.
started: Option<DateTime>
The time that the session invoked the action.
duration: Option<i64>
The time, in milliseconds, that the action took to complete in the browser.
status_code: Option<String>
HTTP status code returned to the browser when the action was taken.
request_method: Option<String>
HTTP method that the browser used to make the request.
Implementations§
source§impl TestGridSessionAction
impl TestGridSessionAction
sourcepub fn duration(&self) -> Option<i64>
pub fn duration(&self) -> Option<i64>
The time, in milliseconds, that the action took to complete in the browser.
sourcepub fn status_code(&self) -> Option<&str>
pub fn status_code(&self) -> Option<&str>
HTTP status code returned to the browser when the action was taken.
sourcepub fn request_method(&self) -> Option<&str>
pub fn request_method(&self) -> Option<&str>
HTTP method that the browser used to make the request.
source§impl TestGridSessionAction
impl TestGridSessionAction
sourcepub fn builder() -> TestGridSessionActionBuilder
pub fn builder() -> TestGridSessionActionBuilder
Creates a new builder-style object to manufacture TestGridSessionAction
.
Trait Implementations§
source§impl Clone for TestGridSessionAction
impl Clone for TestGridSessionAction
source§fn clone(&self) -> TestGridSessionAction
fn clone(&self) -> TestGridSessionAction
Returns a copy 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 TestGridSessionAction
impl Debug for TestGridSessionAction
source§impl PartialEq for TestGridSessionAction
impl PartialEq for TestGridSessionAction
source§fn eq(&self, other: &TestGridSessionAction) -> bool
fn eq(&self, other: &TestGridSessionAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestGridSessionAction
Auto Trait Implementations§
impl Freeze for TestGridSessionAction
impl RefUnwindSafe for TestGridSessionAction
impl Send for TestGridSessionAction
impl Sync for TestGridSessionAction
impl Unpin for TestGridSessionAction
impl UnwindSafe for TestGridSessionAction
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> 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 moreCreates a shared type from an unshared type.