// String returns a string representation of the show grants for user.
972508
func (s *ShowGrantsForUserStatement) String() string {
	var buf bytes.Buffer
	_, _ = buf.WriteString("SHOW GRANTS FOR ")
	_, _ = buf.WriteString(QuoteIdent(s.Name))

	return buf.String()
}
906907
func (v UserId) String() string {
	x := (int64)(v)
	return fmt.Sprint(x)
}
79672
func (ky *Key) String() string {
	if ky == nil {
		return ""
	}

	if ky.userKey != nil {
		return fmt.Sprintf("%s:%s:%s:%v", ky.namespace, ky.setName, ky.userKey.String(), Buffer.BytesToHexString(ky.digest[:]))
	}
	return fmt.Sprintf("%s:%s::%v", ky.namespace, ky.setName, Buffer.BytesToHexString(ky.digest[:]))
}
1308991
func (m member) String() string {
	status := "UP"
	if m.status == memberStatusDown {
		status = "DOWN"
	}

	return fmt.Sprintf("member: %s:%s", m.endpoint, status)
}
625362
func (t *Token) String() string {
	return fmt.Sprintf("%s: %s %q", t.Position.String(), t.Name(), t.Token())
}
331402
func (s *SetPasswordUserStatement) String() string {
	var buf bytes.Buffer
	_, _ = buf.WriteString("SET PASSWORD FOR ")
	_, _ = buf.WriteString(QuoteIdent(s.Name))
	_, _ = buf.WriteString(" = ")
	_, _ = buf.WriteString("[REDACTED]")
	return buf.String()
}
478563
func (p *Plugin) String() string {
	var str string
	if p.Id != "" {
		str = fmt.Sprintf("%x - %s v.%s", string(p.Id), p.Name, p.Version)
	} else {
		str = fmt.Sprintf("%s v.%s", p.Name, p.Version)
	}
	if p.Id != "" && !p.Enabled {
		str = fmt.Sprintf("%s DISABLED", str)
	}
	return str
}
1035398
func (t *Token) String() string {
	return fmt.Sprintf("%s.%s", t.ID, t.Secret)
}
1096640
func (s State) String() string {
	ss := make([]string, 0)
	if s&POLLIN != 0 {
		ss = append(ss, "POLLIN")
	}
	if s&POLLOUT != 0 {
		ss = append(ss, "POLLOUT")
	}
	if len(ss) == 0 {
		return "<NONE>"
	}
	return strings.Join(ss, "|")
}
971194
func (f Form) String() string {
	ret := "<form" + f.Attrs() + ">"

	for _, el := range f.Body {
		ret += el.String()
	}

	ret += "</form>"
	return ret
}
571475
func (s *CreateUserStatement) String() string {
	var buf bytes.Buffer
	_, _ = buf.WriteString("CREATE USER ")
	_, _ = buf.WriteString(QuoteIdent(s.Name))
	_, _ = buf.WriteString(" WITH PASSWORD ")
	_, _ = buf.WriteString("[REDACTED]")
	if s.Admin {
		_, _ = buf.WriteString(" WITH ALL PRIVILEGES")
	}
	return buf.String()
}
1313820
func (tok Token) String() string {
	if tok >= 0 && tok < Token(len(tokens)) {
		return tokens[tok]
	}
	return ""
}
969394
func (a Action) String() string {
	switch a {
	case Insert:
		return "Insert"
	case Delete:
		return "Delete"
	case Modify:
		return "Modify"
	default:
		panic(fmt.Sprintf("unsupported action: %d", a))
	}
}
1358739
func (u *Userinfo) String() string {
	s := escape(u.username, encodeUserPassword)
	if u.passwordSet {
		s += ":" + escape(u.password, encodeUserPassword)
	}
	return s
}
693551
func (udh *UDH) String() string {
	return udh.IEI.String() + "," + udh.IELength.String() + "," + udh.IEData.String()
}
1323818
func (p *Pid) String() string {
	s := p.Role + "@" + p.Host + ":" + strconv.Itoa(p.Port)
	return s
}
1001162
func (u UPID) String() string {
	return fmt.Sprintf("%s@%s:%s", u.ID, u.Host, u.Port)
}