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