Struct aws_sdk_elastictranscoder::operation::test_role::TestRoleOutput
source ยท #[non_exhaustive]pub struct TestRoleOutput {
pub success: Option<String>,
pub messages: Option<Vec<String>>,
/* private fields */
}
๐Deprecated
Expand description
The TestRoleResponse
structure.
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.success: Option<String>
๐Deprecated
If the operation is successful, this value is true
; otherwise, the value is false
.
messages: Option<Vec<String>>
๐Deprecated
If the Success
element contains false
, this value is an array of one or more error messages that were generated during the test process.
Implementationsยง
sourceยงimpl TestRoleOutput
impl TestRoleOutput
sourcepub fn success(&self) -> Option<&str>
pub fn success(&self) -> Option<&str>
If the operation is successful, this value is true
; otherwise, the value is false
.
sourcepub fn messages(&self) -> &[String]
pub fn messages(&self) -> &[String]
If the Success
element contains false
, this value is an array of one or more error messages that were generated during the test process.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .messages.is_none()
.
sourceยงimpl TestRoleOutput
impl TestRoleOutput
sourcepub fn builder() -> TestRoleOutputBuilder
pub fn builder() -> TestRoleOutputBuilder
Creates a new builder-style object to manufacture TestRoleOutput
.
Trait Implementationsยง
sourceยงimpl Clone for TestRoleOutput
impl Clone for TestRoleOutput
sourceยงfn clone(&self) -> TestRoleOutput
fn clone(&self) -> TestRoleOutput
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 TestRoleOutput
impl Debug for TestRoleOutput
sourceยงimpl PartialEq for TestRoleOutput
impl PartialEq for TestRoleOutput
sourceยงfn eq(&self, other: &TestRoleOutput) -> bool
fn eq(&self, other: &TestRoleOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.sourceยงimpl RequestId for TestRoleOutput
impl RequestId for TestRoleOutput
sourceยงfn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for TestRoleOutput
Auto Trait Implementationsยง
impl Freeze for TestRoleOutput
impl RefUnwindSafe for TestRoleOutput
impl Send for TestRoleOutput
impl Sync for TestRoleOutput
impl Unpin for TestRoleOutput
impl UnwindSafe for TestRoleOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงdefault unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit
)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.