stedi_sdk_client_guides/
types.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub use aws_smithy_http::result::SdkError;
3pub use aws_smithy_types::error::display::DisplayErrorContext;
4pub use aws_smithy_types::Blob;
5pub use aws_smithy_types::DateTime;
6
7/// Opaque struct used as inner data for the `Unknown` variant defined in enums in
8/// the crate
9///
10/// While this is not intended to be used directly, it is marked as `pub` because it is
11/// part of the enums that are public interface.
12#[non_exhaustive]
13#[derive(
14    std::clone::Clone,
15    std::cmp::Eq,
16    std::cmp::Ord,
17    std::cmp::PartialEq,
18    std::cmp::PartialOrd,
19    std::fmt::Debug,
20    std::hash::Hash,
21)]
22pub struct UnknownVariantValue(pub(crate) String);
23impl UnknownVariantValue {
24    pub(crate) fn as_str(&self) -> &str {
25        &self.0
26    }
27}