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