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