Typically, mushrooms are roughly 25% protein, 58% carbohydrates, and 3% fat. The rest is vitamins and minerals. In a standard 1-gram serving, there would be less than 1 gram of carbohydrates and approximately 3-4 calories.
If you are fasting, and depending on how strict you are with your fast, you may want to adjust your intake of these products.