Struct aws_sdk_devicefarm::model::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
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
sourceimpl 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.
sourceimpl TestGridSessionAction
impl TestGridSessionAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TestGridSessionAction
Trait Implementations
sourceimpl Clone for TestGridSessionAction
impl Clone for TestGridSessionAction
sourcefn clone(&self) -> TestGridSessionAction
fn clone(&self) -> TestGridSessionAction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TestGridSessionAction
impl Debug for TestGridSessionAction
sourceimpl PartialEq<TestGridSessionAction> for TestGridSessionAction
impl PartialEq<TestGridSessionAction> for TestGridSessionAction
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &TestGridSessionAction) -> bool
fn ne(&self, other: &TestGridSessionAction) -> bool
This method tests for !=.
impl StructuralPartialEq for TestGridSessionAction
Auto Trait Implementations
impl RefUnwindSafe for TestGridSessionAction
impl Send for TestGridSessionAction
impl Sync for TestGridSessionAction
impl Unpin for TestGridSessionAction
impl UnwindSafe for TestGridSessionAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more