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