pub fn is_hosted_zone_already_exists(&self) -> bool {
        matches!(
            &self.kind,
            CreateHostedZoneErrorKind::HostedZoneAlreadyExists(_)
        )
    }
/// Returns `true` if the error kind is `CreateHostedZoneErrorKind::HostedZoneAlreadyExists`.
Returns `true` if the error kind is `CreateHostedZoneErrorKind::HostedZoneAlreadyExists`.
Returns ` true ` if the error kind is ` CreateHostedZoneErrorKind :: HostedZoneAlreadyExists ` .
pub fn is_hosted_zone_already_exists(&self) -> bool {
        matches!(
            &self.kind,
            CreateHostedZoneErrorKind::HostedZoneAlreadyExists(_)
        )
    }
pub fn is_hosted_zone_already_exists ( & self ) -> bool { matches ! ( self kind CreateHostedZoneErrorKind HostedZoneAlreadyExists ( ) ) }
Returns `true` if the error kind is `CreateHostedZoneErrorKind::HostedZoneAlreadyExists`.
Returns ` true ` if the error kind is ` CreateHostedZoneErrorKind :: HostedZoneAlreadyExists ` .
&self
&self