#[non_exhaustive]pub struct TestIdentityProviderInput {
pub server_id: Option<String>,
pub server_protocol: Option<Protocol>,
pub source_ip: Option<String>,
pub user_name: Option<String>,
pub user_password: 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.server_id: Option<String>
A system-assigned identifier for a specific server. That server's user authentication method is tested with a user name and password.
server_protocol: Option<Protocol>
The type of file transfer protocol to be tested.
The available protocols are:
-
Secure Shell (SSH) File Transfer Protocol (SFTP)
-
File Transfer Protocol Secure (FTPS)
-
File Transfer Protocol (FTP)
-
Applicability Statement 2 (AS2)
source_ip: Option<String>
The source IP address of the account to be tested.
user_name: Option<String>
The name of the account to be tested.
user_password: Option<String>
The password of the account to be tested.
Implementations§
source§impl TestIdentityProviderInput
impl TestIdentityProviderInput
sourcepub fn server_id(&self) -> Option<&str>
pub fn server_id(&self) -> Option<&str>
A system-assigned identifier for a specific server. That server's user authentication method is tested with a user name and password.
sourcepub fn server_protocol(&self) -> Option<&Protocol>
pub fn server_protocol(&self) -> Option<&Protocol>
The type of file transfer protocol to be tested.
The available protocols are:
-
Secure Shell (SSH) File Transfer Protocol (SFTP)
-
File Transfer Protocol Secure (FTPS)
-
File Transfer Protocol (FTP)
-
Applicability Statement 2 (AS2)
sourcepub fn user_password(&self) -> Option<&str>
pub fn user_password(&self) -> Option<&str>
The password of the account to be tested.
source§impl TestIdentityProviderInput
impl TestIdentityProviderInput
sourcepub fn builder() -> TestIdentityProviderInputBuilder
pub fn builder() -> TestIdentityProviderInputBuilder
Creates a new builder-style object to manufacture TestIdentityProviderInput
.
Trait Implementations§
source§impl Clone for TestIdentityProviderInput
impl Clone for TestIdentityProviderInput
source§fn clone(&self) -> TestIdentityProviderInput
fn clone(&self) -> TestIdentityProviderInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestIdentityProviderInput
impl Debug for TestIdentityProviderInput
source§impl PartialEq for TestIdentityProviderInput
impl PartialEq for TestIdentityProviderInput
source§fn eq(&self, other: &TestIdentityProviderInput) -> bool
fn eq(&self, other: &TestIdentityProviderInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestIdentityProviderInput
Auto Trait Implementations§
impl Freeze for TestIdentityProviderInput
impl RefUnwindSafe for TestIdentityProviderInput
impl Send for TestIdentityProviderInput
impl Sync for TestIdentityProviderInput
impl Unpin for TestIdentityProviderInput
impl UnwindSafe for TestIdentityProviderInput
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
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>
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>
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 more