#[non_exhaustive]pub struct TestIdentityProviderOutput {
pub response: Option<String>,
pub status_code: i32,
pub message: Option<String>,
pub url: Option<String>,
}
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.response: Option<String>
The response that is returned from your API Gateway.
status_code: i32
The HTTP status code that is the response from your API Gateway.
message: Option<String>
A message that indicates whether the test was successful or not.
If an empty string is returned, the most likely cause is that the authentication failed due to an incorrect username or password.
url: Option<String>
The endpoint of the service used to authenticate a user.
Implementations
sourceimpl TestIdentityProviderOutput
impl TestIdentityProviderOutput
sourcepub fn status_code(&self) -> i32
pub fn status_code(&self) -> i32
The HTTP status code that is the response from your API Gateway.
sourceimpl TestIdentityProviderOutput
impl TestIdentityProviderOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TestIdentityProviderOutput
Trait Implementations
sourceimpl Clone for TestIdentityProviderOutput
impl Clone for TestIdentityProviderOutput
sourcefn clone(&self) -> TestIdentityProviderOutput
fn clone(&self) -> TestIdentityProviderOutput
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 TestIdentityProviderOutput
impl Debug for TestIdentityProviderOutput
sourceimpl PartialEq<TestIdentityProviderOutput> for TestIdentityProviderOutput
impl PartialEq<TestIdentityProviderOutput> for TestIdentityProviderOutput
sourcefn eq(&self, other: &TestIdentityProviderOutput) -> bool
fn eq(&self, other: &TestIdentityProviderOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TestIdentityProviderOutput) -> bool
fn ne(&self, other: &TestIdentityProviderOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for TestIdentityProviderOutput
Auto Trait Implementations
impl RefUnwindSafe for TestIdentityProviderOutput
impl Send for TestIdentityProviderOutput
impl Sync for TestIdentityProviderOutput
impl Unpin for TestIdentityProviderOutput
impl UnwindSafe for TestIdentityProviderOutput
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