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