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