def to_string(self):
        """Return a string encoding the fields of the structure object."""
        return "%s%s:%s" % (self.SIGIL, self.localpart, self.domain)
dataset/ETHPy150Open matrix-org/synapse/synapse/types.py/DomainSpecificString.to_string/original