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