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