aws_sdk_secretsmanager/primitives/
sealed_enum_unknown.rs#[non_exhaustive]
#[derive(
::std::clone::Clone, ::std::cmp::Eq, ::std::cmp::Ord, ::std::cmp::PartialEq, ::std::cmp::PartialOrd, ::std::fmt::Debug, ::std::hash::Hash,
)]
pub struct UnknownVariantValue(pub(crate) ::std::string::String);
impl UnknownVariantValue {
pub(crate) fn as_str(&self) -> &str {
&self.0
}
}
impl ::std::fmt::Display for UnknownVariantValue {
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
write!(f, "{}", self.0)
}
}