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