Struct aws_sdk_storagegateway::operation::describe_chap_credentials::DescribeChapCredentialsOutput
source · #[non_exhaustive]pub struct DescribeChapCredentialsOutput {
pub chap_credentials: Option<Vec<ChapInfo>>,
/* private fields */
}Expand description
A JSON object containing the following fields:
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.chap_credentials: Option<Vec<ChapInfo>>An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields:
-
InitiatorName: The iSCSI initiator that connects to the target.
-
SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
-
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
-
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
Implementations§
source§impl DescribeChapCredentialsOutput
impl DescribeChapCredentialsOutput
sourcepub fn chap_credentials(&self) -> &[ChapInfo]
pub fn chap_credentials(&self) -> &[ChapInfo]
An array of ChapInfo objects that represent CHAP credentials. Each object in the array contains CHAP credential information for one target-initiator pair. If no CHAP credentials are set, an empty array is returned. CHAP credential information is provided in a JSON object with the following fields:
-
InitiatorName: The iSCSI initiator that connects to the target.
-
SecretToAuthenticateInitiator: The secret key that the initiator (for example, the Windows client) must provide to participate in mutual CHAP with the target.
-
SecretToAuthenticateTarget: The secret key that the target must provide to participate in mutual CHAP with the initiator (e.g. Windows client).
-
TargetARN: The Amazon Resource Name (ARN) of the storage volume.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .chap_credentials.is_none().
source§impl DescribeChapCredentialsOutput
impl DescribeChapCredentialsOutput
sourcepub fn builder() -> DescribeChapCredentialsOutputBuilder
pub fn builder() -> DescribeChapCredentialsOutputBuilder
Creates a new builder-style object to manufacture DescribeChapCredentialsOutput.
Trait Implementations§
source§impl Clone for DescribeChapCredentialsOutput
impl Clone for DescribeChapCredentialsOutput
source§fn clone(&self) -> DescribeChapCredentialsOutput
fn clone(&self) -> DescribeChapCredentialsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DescribeChapCredentialsOutput
impl PartialEq for DescribeChapCredentialsOutput
source§fn eq(&self, other: &DescribeChapCredentialsOutput) -> bool
fn eq(&self, other: &DescribeChapCredentialsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeChapCredentialsOutput
impl RequestId for DescribeChapCredentialsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for DescribeChapCredentialsOutput
Auto Trait Implementations§
impl Freeze for DescribeChapCredentialsOutput
impl RefUnwindSafe for DescribeChapCredentialsOutput
impl Send for DescribeChapCredentialsOutput
impl Sync for DescribeChapCredentialsOutput
impl Unpin for DescribeChapCredentialsOutput
impl UnwindSafe for DescribeChapCredentialsOutput
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