In gestational surrogacy, the surrogate mother won't have any genetic link with the child as the sperm and eggs used to develop an embryo will be provided by the intended couples.
In traditional surrogacy, the surrogate mother uses her own eggs to conceive with donor sperm. Therefore, she is linked genetically to the baby. However, legally, she won't have any right over the baby.