#[non_exhaustive]pub struct DescribeUserScramCredentialsResult {
pub user: StrBytes,
pub error_code: i16,
pub error_message: Option<StrBytes>,
pub credential_infos: Vec<CredentialInfo>,
pub unknown_tagged_fields: BTreeMap<i32, Bytes>,
}
Expand description
Valid versions: 0
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.user: StrBytes
The user name.
Supported API versions: 0
error_code: i16
The user-level error code.
Supported API versions: 0
error_message: Option<StrBytes>
The user-level error message, if any.
Supported API versions: 0
credential_infos: Vec<CredentialInfo>
The mechanism and related information associated with the user’s SCRAM credentials.
Supported API versions: 0
unknown_tagged_fields: BTreeMap<i32, Bytes>
Other tagged fields
Implementations§
Source§impl DescribeUserScramCredentialsResult
impl DescribeUserScramCredentialsResult
Sourcepub fn with_user(self, value: StrBytes) -> Self
pub fn with_user(self, value: StrBytes) -> Self
Sets user
to the passed value.
The user name.
Supported API versions: 0
Sourcepub fn with_error_code(self, value: i16) -> Self
pub fn with_error_code(self, value: i16) -> Self
Sets error_code
to the passed value.
The user-level error code.
Supported API versions: 0
Sourcepub fn with_error_message(self, value: Option<StrBytes>) -> Self
pub fn with_error_message(self, value: Option<StrBytes>) -> Self
Sets error_message
to the passed value.
The user-level error message, if any.
Supported API versions: 0
Sourcepub fn with_credential_infos(self, value: Vec<CredentialInfo>) -> Self
pub fn with_credential_infos(self, value: Vec<CredentialInfo>) -> Self
Sets credential_infos
to the passed value.
The mechanism and related information associated with the user’s SCRAM credentials.
Supported API versions: 0
Sourcepub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
pub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
Sets unknown_tagged_fields to the passed value.
Sourcepub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
pub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
Inserts an entry into unknown_tagged_fields.
Trait Implementations§
Source§impl Clone for DescribeUserScramCredentialsResult
impl Clone for DescribeUserScramCredentialsResult
Source§fn clone(&self) -> DescribeUserScramCredentialsResult
fn clone(&self) -> DescribeUserScramCredentialsResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Decodable for DescribeUserScramCredentialsResult
Available on crate feature client
only.
impl Decodable for DescribeUserScramCredentialsResult
client
only.Source§impl Encodable for DescribeUserScramCredentialsResult
Available on crate feature broker
only.
impl Encodable for DescribeUserScramCredentialsResult
broker
only.Source§impl Message for DescribeUserScramCredentialsResult
impl Message for DescribeUserScramCredentialsResult
Source§const VERSIONS: VersionRange
const VERSIONS: VersionRange
Source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
const DEPRECATED_VERSIONS: Option<VersionRange> = None
Source§impl PartialEq for DescribeUserScramCredentialsResult
impl PartialEq for DescribeUserScramCredentialsResult
Source§fn eq(&self, other: &DescribeUserScramCredentialsResult) -> bool
fn eq(&self, other: &DescribeUserScramCredentialsResult) -> bool
self
and other
values to be equal, and is used by ==
.