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