#[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
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<TestRoleOutput> for TestRoleOutput
impl PartialEq<TestRoleOutput> 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 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