Contrary to the fears of many photographers, standard x-ray equipment has an extraordinarily low risk of damaging your digital camera. In fact, no digital media can really be affected by x-rays, so don't fret about your laptop or phone either. Undeveloped film, on the other hand, may be wiped by the process, so if you have any then request an individual inspection free of x-rays. This is guaranteed by the US Federal Aviation Administration, and similar laws exist in other countries as well.
However, if the bag holding your digital camera for whatever reason fails inspection by the x-ray machine, you may be in trouble—maybe.