#[non_exhaustive]pub struct TestAuthorizationOutputBuilder { /* private fields */ }
Expand description
A builder for TestAuthorizationOutput
.
Implementations§
source§impl TestAuthorizationOutputBuilder
impl TestAuthorizationOutputBuilder
sourcepub fn auth_results(self, input: AuthResult) -> Self
pub fn auth_results(self, input: AuthResult) -> Self
Appends an item to auth_results
.
To override the contents of this collection use set_auth_results
.
The authentication results.
sourcepub fn set_auth_results(self, input: Option<Vec<AuthResult>>) -> Self
pub fn set_auth_results(self, input: Option<Vec<AuthResult>>) -> Self
The authentication results.
sourcepub fn build(self) -> TestAuthorizationOutput
pub fn build(self) -> TestAuthorizationOutput
Consumes the builder and constructs a TestAuthorizationOutput
.
Trait Implementations§
source§impl Clone for TestAuthorizationOutputBuilder
impl Clone for TestAuthorizationOutputBuilder
source§fn clone(&self) -> TestAuthorizationOutputBuilder
fn clone(&self) -> TestAuthorizationOutputBuilder
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 Default for TestAuthorizationOutputBuilder
impl Default for TestAuthorizationOutputBuilder
source§fn default() -> TestAuthorizationOutputBuilder
fn default() -> TestAuthorizationOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TestAuthorizationOutputBuilder> for TestAuthorizationOutputBuilder
impl PartialEq<TestAuthorizationOutputBuilder> for TestAuthorizationOutputBuilder
source§fn eq(&self, other: &TestAuthorizationOutputBuilder) -> bool
fn eq(&self, other: &TestAuthorizationOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.