As Michael said, each transplant center makes its own rules, so you will have to ask.
Years ago, a history of any cancer, no matter how long ago and no matter the type, was disqualifying. Many or most centers now accept people with a history of solid cancer (not leukemia, for instance) with low risk of having spread (often not breast cancer, for instance), appropriately treated, and no evidence of return for 5 years. I had had prostate cancer 10 years earlier than my donation, also treated with brachytherapy, and continued PSA counts that are undetectable.
If you check with the Center, please let us know. Bill