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