Versions in this module Expand all Collapse all v0 v0.4.0 May 29, 2022 v0.3.1 May 29, 2022 v0.3.0 May 29, 2022 v0.2.1 May 29, 2022 v0.2.0 May 27, 2022 v0.1.0 May 27, 2022 Changes in this version + const OpCreate + const OpDelete + const OpDeleteOne + const OpUpdate + const OpUpdateOne + const TypeMailbox + const TypeMailboxAttr + const TypeMailboxFlag + const TypeMailboxPermFlag + const TypeMessage + const TypeMessageFlag + const TypeUID + func IsConstraintError(err error) bool + func IsNotFound(err error) bool + func IsNotLoaded(err error) bool + func IsNotSingular(err error) bool + func IsValidationError(err error) bool + func MaskNotFound(err error) error + func NewContext(parent context.Context, c *Client) context.Context + func NewTxContext(parent context.Context, tx *Tx) context.Context + type AggregateFunc func(*sql.Selector) string + func As(fn AggregateFunc, end string) AggregateFunc + func Count() AggregateFunc + func Max(field string) AggregateFunc + func Mean(field string) AggregateFunc + func Min(field string) AggregateFunc + func Sum(field string) AggregateFunc + type Client struct + Mailbox *MailboxClient + MailboxAttr *MailboxAttrClient + MailboxFlag *MailboxFlagClient + MailboxPermFlag *MailboxPermFlagClient + Message *MessageClient + MessageFlag *MessageFlagClient + Schema *migrate.Schema + UID *UIDClient + func FromContext(ctx context.Context) *Client + func NewClient(opts ...Option) *Client + func Open(driverName, dataSourceName string, options ...Option) (*Client, error) + func (c *Client) BeginTx(ctx context.Context, opts *sql.TxOptions) (*Tx, error) + func (c *Client) Close() error + func (c *Client) Debug() *Client + func (c *Client) Tx(ctx context.Context) (*Tx, error) + func (c *Client) Use(hooks ...Hook) + type CommitFunc func(context.Context, *Tx) error + func (f CommitFunc) Commit(ctx context.Context, tx *Tx) error + type CommitHook func(Committer) Committer + type Committer interface + Commit func(context.Context, *Tx) error + type ConstraintError struct + func (e *ConstraintError) Unwrap() error + func (e ConstraintError) Error() string + type Hook = ent.Hook + type Mailbox struct + Edges MailboxEdges + ID int + MailboxID string + Name string + Subscribed bool + UIDNext int + UIDValidity int + func (m *Mailbox) QueryAttributes() *MailboxAttrQuery + func (m *Mailbox) QueryFlags() *MailboxFlagQuery + func (m *Mailbox) QueryPermanentFlags() *MailboxPermFlagQuery + func (m *Mailbox) QueryUIDs() *UIDQuery + func (m *Mailbox) String() string + func (m *Mailbox) Unwrap() *Mailbox + func (m *Mailbox) Update() *MailboxUpdateOne + type MailboxAttr struct + ID int + Value string + func (ma *MailboxAttr) String() string + func (ma *MailboxAttr) Unwrap() *MailboxAttr + func (ma *MailboxAttr) Update() *MailboxAttrUpdateOne + type MailboxAttrClient struct + func NewMailboxAttrClient(c config) *MailboxAttrClient + func (c *MailboxAttrClient) Create() *MailboxAttrCreate + func (c *MailboxAttrClient) CreateBulk(builders ...*MailboxAttrCreate) *MailboxAttrCreateBulk + func (c *MailboxAttrClient) Delete() *MailboxAttrDelete + func (c *MailboxAttrClient) DeleteOne(ma *MailboxAttr) *MailboxAttrDeleteOne + func (c *MailboxAttrClient) DeleteOneID(id int) *MailboxAttrDeleteOne + func (c *MailboxAttrClient) Get(ctx context.Context, id int) (*MailboxAttr, error) + func (c *MailboxAttrClient) GetX(ctx context.Context, id int) *MailboxAttr + func (c *MailboxAttrClient) Hooks() []Hook + func (c *MailboxAttrClient) Query() *MailboxAttrQuery + func (c *MailboxAttrClient) Update() *MailboxAttrUpdate + func (c *MailboxAttrClient) UpdateOne(ma *MailboxAttr) *MailboxAttrUpdateOne + func (c *MailboxAttrClient) UpdateOneID(id int) *MailboxAttrUpdateOne + func (c *MailboxAttrClient) Use(hooks ...Hook) + type MailboxAttrCreate struct + func (mac *MailboxAttrCreate) Exec(ctx context.Context) error + func (mac *MailboxAttrCreate) ExecX(ctx context.Context) + func (mac *MailboxAttrCreate) Mutation() *MailboxAttrMutation + func (mac *MailboxAttrCreate) Save(ctx context.Context) (*MailboxAttr, error) + func (mac *MailboxAttrCreate) SaveX(ctx context.Context) *MailboxAttr + func (mac *MailboxAttrCreate) SetValue(s string) *MailboxAttrCreate + type MailboxAttrCreateBulk struct + func (macb *MailboxAttrCreateBulk) Exec(ctx context.Context) error + func (macb *MailboxAttrCreateBulk) ExecX(ctx context.Context) + func (macb *MailboxAttrCreateBulk) Save(ctx context.Context) ([]*MailboxAttr, error) + func (macb *MailboxAttrCreateBulk) SaveX(ctx context.Context) []*MailboxAttr + type MailboxAttrDelete struct + func (mad *MailboxAttrDelete) Exec(ctx context.Context) (int, error) + func (mad *MailboxAttrDelete) ExecX(ctx context.Context) int + func (mad *MailboxAttrDelete) Where(ps ...predicate.MailboxAttr) *MailboxAttrDelete + type MailboxAttrDeleteOne struct + func (mado *MailboxAttrDeleteOne) Exec(ctx context.Context) error + func (mado *MailboxAttrDeleteOne) ExecX(ctx context.Context) + type MailboxAttrGroupBy struct + func (magb *MailboxAttrGroupBy) Aggregate(fns ...AggregateFunc) *MailboxAttrGroupBy + func (magb *MailboxAttrGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (magb *MailboxAttrGroupBy) BoolX(ctx context.Context) bool + func (magb *MailboxAttrGroupBy) Bools(ctx context.Context) ([]bool, error) + func (magb *MailboxAttrGroupBy) BoolsX(ctx context.Context) []bool + func (magb *MailboxAttrGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (magb *MailboxAttrGroupBy) Float64X(ctx context.Context) float64 + func (magb *MailboxAttrGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (magb *MailboxAttrGroupBy) Float64sX(ctx context.Context) []float64 + func (magb *MailboxAttrGroupBy) Int(ctx context.Context) (_ int, err error) + func (magb *MailboxAttrGroupBy) IntX(ctx context.Context) int + func (magb *MailboxAttrGroupBy) Ints(ctx context.Context) ([]int, error) + func (magb *MailboxAttrGroupBy) IntsX(ctx context.Context) []int + func (magb *MailboxAttrGroupBy) Scan(ctx context.Context, v interface{}) error + func (magb *MailboxAttrGroupBy) ScanX(ctx context.Context, v interface{}) + func (magb *MailboxAttrGroupBy) String(ctx context.Context) (_ string, err error) + func (magb *MailboxAttrGroupBy) StringX(ctx context.Context) string + func (magb *MailboxAttrGroupBy) Strings(ctx context.Context) ([]string, error) + func (magb *MailboxAttrGroupBy) StringsX(ctx context.Context) []string + type MailboxAttrMutation struct + func (m *MailboxAttrMutation) AddField(name string, value ent.Value) error + func (m *MailboxAttrMutation) AddedEdges() []string + func (m *MailboxAttrMutation) AddedField(name string) (ent.Value, bool) + func (m *MailboxAttrMutation) AddedFields() []string + func (m *MailboxAttrMutation) AddedIDs(name string) []ent.Value + func (m *MailboxAttrMutation) ClearEdge(name string) error + func (m *MailboxAttrMutation) ClearField(name string) error + func (m *MailboxAttrMutation) ClearedEdges() []string + func (m *MailboxAttrMutation) ClearedFields() []string + func (m *MailboxAttrMutation) EdgeCleared(name string) bool + func (m *MailboxAttrMutation) Field(name string) (ent.Value, bool) + func (m *MailboxAttrMutation) FieldCleared(name string) bool + func (m *MailboxAttrMutation) Fields() []string + func (m *MailboxAttrMutation) ID() (id int, exists bool) + func (m *MailboxAttrMutation) IDs(ctx context.Context) ([]int, error) + func (m *MailboxAttrMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MailboxAttrMutation) OldValue(ctx context.Context) (v string, err error) + func (m *MailboxAttrMutation) Op() Op + func (m *MailboxAttrMutation) RemovedEdges() []string + func (m *MailboxAttrMutation) RemovedIDs(name string) []ent.Value + func (m *MailboxAttrMutation) ResetEdge(name string) error + func (m *MailboxAttrMutation) ResetField(name string) error + func (m *MailboxAttrMutation) ResetValue() + func (m *MailboxAttrMutation) SetField(name string, value ent.Value) error + func (m *MailboxAttrMutation) SetValue(s string) + func (m *MailboxAttrMutation) Type() string + func (m *MailboxAttrMutation) Value() (r string, exists bool) + func (m *MailboxAttrMutation) Where(ps ...predicate.MailboxAttr) + func (m MailboxAttrMutation) Client() *Client + func (m MailboxAttrMutation) Tx() (*Tx, error) + type MailboxAttrQuery struct + func (maq *MailboxAttrQuery) All(ctx context.Context) ([]*MailboxAttr, error) + func (maq *MailboxAttrQuery) AllX(ctx context.Context) []*MailboxAttr + func (maq *MailboxAttrQuery) Clone() *MailboxAttrQuery + func (maq *MailboxAttrQuery) Count(ctx context.Context) (int, error) + func (maq *MailboxAttrQuery) CountX(ctx context.Context) int + func (maq *MailboxAttrQuery) Exist(ctx context.Context) (bool, error) + func (maq *MailboxAttrQuery) ExistX(ctx context.Context) bool + func (maq *MailboxAttrQuery) First(ctx context.Context) (*MailboxAttr, error) + func (maq *MailboxAttrQuery) FirstID(ctx context.Context) (id int, err error) + func (maq *MailboxAttrQuery) FirstIDX(ctx context.Context) int + func (maq *MailboxAttrQuery) FirstX(ctx context.Context) *MailboxAttr + func (maq *MailboxAttrQuery) GroupBy(field string, fields ...string) *MailboxAttrGroupBy + func (maq *MailboxAttrQuery) IDs(ctx context.Context) ([]int, error) + func (maq *MailboxAttrQuery) IDsX(ctx context.Context) []int + func (maq *MailboxAttrQuery) Limit(limit int) *MailboxAttrQuery + func (maq *MailboxAttrQuery) Offset(offset int) *MailboxAttrQuery + func (maq *MailboxAttrQuery) Only(ctx context.Context) (*MailboxAttr, error) + func (maq *MailboxAttrQuery) OnlyID(ctx context.Context) (id int, err error) + func (maq *MailboxAttrQuery) OnlyIDX(ctx context.Context) int + func (maq *MailboxAttrQuery) OnlyX(ctx context.Context) *MailboxAttr + func (maq *MailboxAttrQuery) Order(o ...OrderFunc) *MailboxAttrQuery + func (maq *MailboxAttrQuery) Select(fields ...string) *MailboxAttrSelect + func (maq *MailboxAttrQuery) Unique(unique bool) *MailboxAttrQuery + func (maq *MailboxAttrQuery) Where(ps ...predicate.MailboxAttr) *MailboxAttrQuery + type MailboxAttrSelect struct + func (mas *MailboxAttrSelect) Bool(ctx context.Context) (_ bool, err error) + func (mas *MailboxAttrSelect) BoolX(ctx context.Context) bool + func (mas *MailboxAttrSelect) Bools(ctx context.Context) ([]bool, error) + func (mas *MailboxAttrSelect) BoolsX(ctx context.Context) []bool + func (mas *MailboxAttrSelect) Float64(ctx context.Context) (_ float64, err error) + func (mas *MailboxAttrSelect) Float64X(ctx context.Context) float64 + func (mas *MailboxAttrSelect) Float64s(ctx context.Context) ([]float64, error) + func (mas *MailboxAttrSelect) Float64sX(ctx context.Context) []float64 + func (mas *MailboxAttrSelect) Int(ctx context.Context) (_ int, err error) + func (mas *MailboxAttrSelect) IntX(ctx context.Context) int + func (mas *MailboxAttrSelect) Ints(ctx context.Context) ([]int, error) + func (mas *MailboxAttrSelect) IntsX(ctx context.Context) []int + func (mas *MailboxAttrSelect) Scan(ctx context.Context, v interface{}) error + func (mas *MailboxAttrSelect) ScanX(ctx context.Context, v interface{}) + func (mas *MailboxAttrSelect) String(ctx context.Context) (_ string, err error) + func (mas *MailboxAttrSelect) StringX(ctx context.Context) string + func (mas *MailboxAttrSelect) Strings(ctx context.Context) ([]string, error) + func (mas *MailboxAttrSelect) StringsX(ctx context.Context) []string + type MailboxAttrUpdate struct + func (mau *MailboxAttrUpdate) Exec(ctx context.Context) error + func (mau *MailboxAttrUpdate) ExecX(ctx context.Context) + func (mau *MailboxAttrUpdate) Mutation() *MailboxAttrMutation + func (mau *MailboxAttrUpdate) Save(ctx context.Context) (int, error) + func (mau *MailboxAttrUpdate) SaveX(ctx context.Context) int + func (mau *MailboxAttrUpdate) SetValue(s string) *MailboxAttrUpdate + func (mau *MailboxAttrUpdate) Where(ps ...predicate.MailboxAttr) *MailboxAttrUpdate + type MailboxAttrUpdateOne struct + func (mauo *MailboxAttrUpdateOne) Exec(ctx context.Context) error + func (mauo *MailboxAttrUpdateOne) ExecX(ctx context.Context) + func (mauo *MailboxAttrUpdateOne) Mutation() *MailboxAttrMutation + func (mauo *MailboxAttrUpdateOne) Save(ctx context.Context) (*MailboxAttr, error) + func (mauo *MailboxAttrUpdateOne) SaveX(ctx context.Context) *MailboxAttr + func (mauo *MailboxAttrUpdateOne) Select(field string, fields ...string) *MailboxAttrUpdateOne + func (mauo *MailboxAttrUpdateOne) SetValue(s string) *MailboxAttrUpdateOne + type MailboxAttrs []*MailboxAttr + type MailboxClient struct + func NewMailboxClient(c config) *MailboxClient + func (c *MailboxClient) Create() *MailboxCreate + func (c *MailboxClient) CreateBulk(builders ...*MailboxCreate) *MailboxCreateBulk + func (c *MailboxClient) Delete() *MailboxDelete + func (c *MailboxClient) DeleteOne(m *Mailbox) *MailboxDeleteOne + func (c *MailboxClient) DeleteOneID(id int) *MailboxDeleteOne + func (c *MailboxClient) Get(ctx context.Context, id int) (*Mailbox, error) + func (c *MailboxClient) GetX(ctx context.Context, id int) *Mailbox + func (c *MailboxClient) Hooks() []Hook + func (c *MailboxClient) Query() *MailboxQuery + func (c *MailboxClient) QueryAttributes(m *Mailbox) *MailboxAttrQuery + func (c *MailboxClient) QueryFlags(m *Mailbox) *MailboxFlagQuery + func (c *MailboxClient) QueryPermanentFlags(m *Mailbox) *MailboxPermFlagQuery + func (c *MailboxClient) QueryUIDs(m *Mailbox) *UIDQuery + func (c *MailboxClient) Update() *MailboxUpdate + func (c *MailboxClient) UpdateOne(m *Mailbox) *MailboxUpdateOne + func (c *MailboxClient) UpdateOneID(id int) *MailboxUpdateOne + func (c *MailboxClient) Use(hooks ...Hook) + type MailboxCreate struct + func (mc *MailboxCreate) AddAttributeIDs(ids ...int) *MailboxCreate + func (mc *MailboxCreate) AddAttributes(m ...*MailboxAttr) *MailboxCreate + func (mc *MailboxCreate) AddFlagIDs(ids ...int) *MailboxCreate + func (mc *MailboxCreate) AddFlags(m ...*MailboxFlag) *MailboxCreate + func (mc *MailboxCreate) AddPermanentFlagIDs(ids ...int) *MailboxCreate + func (mc *MailboxCreate) AddPermanentFlags(m ...*MailboxPermFlag) *MailboxCreate + func (mc *MailboxCreate) AddUIDIDs(ids ...int) *MailboxCreate + func (mc *MailboxCreate) AddUIDs(u ...*UID) *MailboxCreate + func (mc *MailboxCreate) Exec(ctx context.Context) error + func (mc *MailboxCreate) ExecX(ctx context.Context) + func (mc *MailboxCreate) Mutation() *MailboxMutation + func (mc *MailboxCreate) Save(ctx context.Context) (*Mailbox, error) + func (mc *MailboxCreate) SaveX(ctx context.Context) *Mailbox + func (mc *MailboxCreate) SetMailboxID(s string) *MailboxCreate + func (mc *MailboxCreate) SetName(s string) *MailboxCreate + func (mc *MailboxCreate) SetNillableSubscribed(b *bool) *MailboxCreate + func (mc *MailboxCreate) SetNillableUIDNext(i *int) *MailboxCreate + func (mc *MailboxCreate) SetNillableUIDValidity(i *int) *MailboxCreate + func (mc *MailboxCreate) SetSubscribed(b bool) *MailboxCreate + func (mc *MailboxCreate) SetUIDNext(i int) *MailboxCreate + func (mc *MailboxCreate) SetUIDValidity(i int) *MailboxCreate + type MailboxCreateBulk struct + func (mcb *MailboxCreateBulk) Exec(ctx context.Context) error + func (mcb *MailboxCreateBulk) ExecX(ctx context.Context) + func (mcb *MailboxCreateBulk) Save(ctx context.Context) ([]*Mailbox, error) + func (mcb *MailboxCreateBulk) SaveX(ctx context.Context) []*Mailbox + type MailboxDelete struct + func (md *MailboxDelete) Exec(ctx context.Context) (int, error) + func (md *MailboxDelete) ExecX(ctx context.Context) int + func (md *MailboxDelete) Where(ps ...predicate.Mailbox) *MailboxDelete + type MailboxDeleteOne struct + func (mdo *MailboxDeleteOne) Exec(ctx context.Context) error + func (mdo *MailboxDeleteOne) ExecX(ctx context.Context) + type MailboxEdges struct + Attributes []*MailboxAttr + Flags []*MailboxFlag + PermanentFlags []*MailboxPermFlag + UIDs []*UID + func (e MailboxEdges) AttributesOrErr() ([]*MailboxAttr, error) + func (e MailboxEdges) FlagsOrErr() ([]*MailboxFlag, error) + func (e MailboxEdges) PermanentFlagsOrErr() ([]*MailboxPermFlag, error) + func (e MailboxEdges) UIDsOrErr() ([]*UID, error) + type MailboxFlag struct + ID int + Value string + func (mf *MailboxFlag) String() string + func (mf *MailboxFlag) Unwrap() *MailboxFlag + func (mf *MailboxFlag) Update() *MailboxFlagUpdateOne + type MailboxFlagClient struct + func NewMailboxFlagClient(c config) *MailboxFlagClient + func (c *MailboxFlagClient) Create() *MailboxFlagCreate + func (c *MailboxFlagClient) CreateBulk(builders ...*MailboxFlagCreate) *MailboxFlagCreateBulk + func (c *MailboxFlagClient) Delete() *MailboxFlagDelete + func (c *MailboxFlagClient) DeleteOne(mf *MailboxFlag) *MailboxFlagDeleteOne + func (c *MailboxFlagClient) DeleteOneID(id int) *MailboxFlagDeleteOne + func (c *MailboxFlagClient) Get(ctx context.Context, id int) (*MailboxFlag, error) + func (c *MailboxFlagClient) GetX(ctx context.Context, id int) *MailboxFlag + func (c *MailboxFlagClient) Hooks() []Hook + func (c *MailboxFlagClient) Query() *MailboxFlagQuery + func (c *MailboxFlagClient) Update() *MailboxFlagUpdate + func (c *MailboxFlagClient) UpdateOne(mf *MailboxFlag) *MailboxFlagUpdateOne + func (c *MailboxFlagClient) UpdateOneID(id int) *MailboxFlagUpdateOne + func (c *MailboxFlagClient) Use(hooks ...Hook) + type MailboxFlagCreate struct + func (mfc *MailboxFlagCreate) Exec(ctx context.Context) error + func (mfc *MailboxFlagCreate) ExecX(ctx context.Context) + func (mfc *MailboxFlagCreate) Mutation() *MailboxFlagMutation + func (mfc *MailboxFlagCreate) Save(ctx context.Context) (*MailboxFlag, error) + func (mfc *MailboxFlagCreate) SaveX(ctx context.Context) *MailboxFlag + func (mfc *MailboxFlagCreate) SetValue(s string) *MailboxFlagCreate + type MailboxFlagCreateBulk struct + func (mfcb *MailboxFlagCreateBulk) Exec(ctx context.Context) error + func (mfcb *MailboxFlagCreateBulk) ExecX(ctx context.Context) + func (mfcb *MailboxFlagCreateBulk) Save(ctx context.Context) ([]*MailboxFlag, error) + func (mfcb *MailboxFlagCreateBulk) SaveX(ctx context.Context) []*MailboxFlag + type MailboxFlagDelete struct + func (mfd *MailboxFlagDelete) Exec(ctx context.Context) (int, error) + func (mfd *MailboxFlagDelete) ExecX(ctx context.Context) int + func (mfd *MailboxFlagDelete) Where(ps ...predicate.MailboxFlag) *MailboxFlagDelete + type MailboxFlagDeleteOne struct + func (mfdo *MailboxFlagDeleteOne) Exec(ctx context.Context) error + func (mfdo *MailboxFlagDeleteOne) ExecX(ctx context.Context) + type MailboxFlagGroupBy struct + func (mfgb *MailboxFlagGroupBy) Aggregate(fns ...AggregateFunc) *MailboxFlagGroupBy + func (mfgb *MailboxFlagGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (mfgb *MailboxFlagGroupBy) BoolX(ctx context.Context) bool + func (mfgb *MailboxFlagGroupBy) Bools(ctx context.Context) ([]bool, error) + func (mfgb *MailboxFlagGroupBy) BoolsX(ctx context.Context) []bool + func (mfgb *MailboxFlagGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (mfgb *MailboxFlagGroupBy) Float64X(ctx context.Context) float64 + func (mfgb *MailboxFlagGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (mfgb *MailboxFlagGroupBy) Float64sX(ctx context.Context) []float64 + func (mfgb *MailboxFlagGroupBy) Int(ctx context.Context) (_ int, err error) + func (mfgb *MailboxFlagGroupBy) IntX(ctx context.Context) int + func (mfgb *MailboxFlagGroupBy) Ints(ctx context.Context) ([]int, error) + func (mfgb *MailboxFlagGroupBy) IntsX(ctx context.Context) []int + func (mfgb *MailboxFlagGroupBy) Scan(ctx context.Context, v interface{}) error + func (mfgb *MailboxFlagGroupBy) ScanX(ctx context.Context, v interface{}) + func (mfgb *MailboxFlagGroupBy) String(ctx context.Context) (_ string, err error) + func (mfgb *MailboxFlagGroupBy) StringX(ctx context.Context) string + func (mfgb *MailboxFlagGroupBy) Strings(ctx context.Context) ([]string, error) + func (mfgb *MailboxFlagGroupBy) StringsX(ctx context.Context) []string + type MailboxFlagMutation struct + func (m *MailboxFlagMutation) AddField(name string, value ent.Value) error + func (m *MailboxFlagMutation) AddedEdges() []string + func (m *MailboxFlagMutation) AddedField(name string) (ent.Value, bool) + func (m *MailboxFlagMutation) AddedFields() []string + func (m *MailboxFlagMutation) AddedIDs(name string) []ent.Value + func (m *MailboxFlagMutation) ClearEdge(name string) error + func (m *MailboxFlagMutation) ClearField(name string) error + func (m *MailboxFlagMutation) ClearedEdges() []string + func (m *MailboxFlagMutation) ClearedFields() []string + func (m *MailboxFlagMutation) EdgeCleared(name string) bool + func (m *MailboxFlagMutation) Field(name string) (ent.Value, bool) + func (m *MailboxFlagMutation) FieldCleared(name string) bool + func (m *MailboxFlagMutation) Fields() []string + func (m *MailboxFlagMutation) ID() (id int, exists bool) + func (m *MailboxFlagMutation) IDs(ctx context.Context) ([]int, error) + func (m *MailboxFlagMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MailboxFlagMutation) OldValue(ctx context.Context) (v string, err error) + func (m *MailboxFlagMutation) Op() Op + func (m *MailboxFlagMutation) RemovedEdges() []string + func (m *MailboxFlagMutation) RemovedIDs(name string) []ent.Value + func (m *MailboxFlagMutation) ResetEdge(name string) error + func (m *MailboxFlagMutation) ResetField(name string) error + func (m *MailboxFlagMutation) ResetValue() + func (m *MailboxFlagMutation) SetField(name string, value ent.Value) error + func (m *MailboxFlagMutation) SetValue(s string) + func (m *MailboxFlagMutation) Type() string + func (m *MailboxFlagMutation) Value() (r string, exists bool) + func (m *MailboxFlagMutation) Where(ps ...predicate.MailboxFlag) + func (m MailboxFlagMutation) Client() *Client + func (m MailboxFlagMutation) Tx() (*Tx, error) + type MailboxFlagQuery struct + func (mfq *MailboxFlagQuery) All(ctx context.Context) ([]*MailboxFlag, error) + func (mfq *MailboxFlagQuery) AllX(ctx context.Context) []*MailboxFlag + func (mfq *MailboxFlagQuery) Clone() *MailboxFlagQuery + func (mfq *MailboxFlagQuery) Count(ctx context.Context) (int, error) + func (mfq *MailboxFlagQuery) CountX(ctx context.Context) int + func (mfq *MailboxFlagQuery) Exist(ctx context.Context) (bool, error) + func (mfq *MailboxFlagQuery) ExistX(ctx context.Context) bool + func (mfq *MailboxFlagQuery) First(ctx context.Context) (*MailboxFlag, error) + func (mfq *MailboxFlagQuery) FirstID(ctx context.Context) (id int, err error) + func (mfq *MailboxFlagQuery) FirstIDX(ctx context.Context) int + func (mfq *MailboxFlagQuery) FirstX(ctx context.Context) *MailboxFlag + func (mfq *MailboxFlagQuery) GroupBy(field string, fields ...string) *MailboxFlagGroupBy + func (mfq *MailboxFlagQuery) IDs(ctx context.Context) ([]int, error) + func (mfq *MailboxFlagQuery) IDsX(ctx context.Context) []int + func (mfq *MailboxFlagQuery) Limit(limit int) *MailboxFlagQuery + func (mfq *MailboxFlagQuery) Offset(offset int) *MailboxFlagQuery + func (mfq *MailboxFlagQuery) Only(ctx context.Context) (*MailboxFlag, error) + func (mfq *MailboxFlagQuery) OnlyID(ctx context.Context) (id int, err error) + func (mfq *MailboxFlagQuery) OnlyIDX(ctx context.Context) int + func (mfq *MailboxFlagQuery) OnlyX(ctx context.Context) *MailboxFlag + func (mfq *MailboxFlagQuery) Order(o ...OrderFunc) *MailboxFlagQuery + func (mfq *MailboxFlagQuery) Select(fields ...string) *MailboxFlagSelect + func (mfq *MailboxFlagQuery) Unique(unique bool) *MailboxFlagQuery + func (mfq *MailboxFlagQuery) Where(ps ...predicate.MailboxFlag) *MailboxFlagQuery + type MailboxFlagSelect struct + func (mfs *MailboxFlagSelect) Bool(ctx context.Context) (_ bool, err error) + func (mfs *MailboxFlagSelect) BoolX(ctx context.Context) bool + func (mfs *MailboxFlagSelect) Bools(ctx context.Context) ([]bool, error) + func (mfs *MailboxFlagSelect) BoolsX(ctx context.Context) []bool + func (mfs *MailboxFlagSelect) Float64(ctx context.Context) (_ float64, err error) + func (mfs *MailboxFlagSelect) Float64X(ctx context.Context) float64 + func (mfs *MailboxFlagSelect) Float64s(ctx context.Context) ([]float64, error) + func (mfs *MailboxFlagSelect) Float64sX(ctx context.Context) []float64 + func (mfs *MailboxFlagSelect) Int(ctx context.Context) (_ int, err error) + func (mfs *MailboxFlagSelect) IntX(ctx context.Context) int + func (mfs *MailboxFlagSelect) Ints(ctx context.Context) ([]int, error) + func (mfs *MailboxFlagSelect) IntsX(ctx context.Context) []int + func (mfs *MailboxFlagSelect) Scan(ctx context.Context, v interface{}) error + func (mfs *MailboxFlagSelect) ScanX(ctx context.Context, v interface{}) + func (mfs *MailboxFlagSelect) String(ctx context.Context) (_ string, err error) + func (mfs *MailboxFlagSelect) StringX(ctx context.Context) string + func (mfs *MailboxFlagSelect) Strings(ctx context.Context) ([]string, error) + func (mfs *MailboxFlagSelect) StringsX(ctx context.Context) []string + type MailboxFlagUpdate struct + func (mfu *MailboxFlagUpdate) Exec(ctx context.Context) error + func (mfu *MailboxFlagUpdate) ExecX(ctx context.Context) + func (mfu *MailboxFlagUpdate) Mutation() *MailboxFlagMutation + func (mfu *MailboxFlagUpdate) Save(ctx context.Context) (int, error) + func (mfu *MailboxFlagUpdate) SaveX(ctx context.Context) int + func (mfu *MailboxFlagUpdate) SetValue(s string) *MailboxFlagUpdate + func (mfu *MailboxFlagUpdate) Where(ps ...predicate.MailboxFlag) *MailboxFlagUpdate + type MailboxFlagUpdateOne struct + func (mfuo *MailboxFlagUpdateOne) Exec(ctx context.Context) error + func (mfuo *MailboxFlagUpdateOne) ExecX(ctx context.Context) + func (mfuo *MailboxFlagUpdateOne) Mutation() *MailboxFlagMutation + func (mfuo *MailboxFlagUpdateOne) Save(ctx context.Context) (*MailboxFlag, error) + func (mfuo *MailboxFlagUpdateOne) SaveX(ctx context.Context) *MailboxFlag + func (mfuo *MailboxFlagUpdateOne) Select(field string, fields ...string) *MailboxFlagUpdateOne + func (mfuo *MailboxFlagUpdateOne) SetValue(s string) *MailboxFlagUpdateOne + type MailboxFlags []*MailboxFlag + type MailboxGroupBy struct + func (mgb *MailboxGroupBy) Aggregate(fns ...AggregateFunc) *MailboxGroupBy + func (mgb *MailboxGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (mgb *MailboxGroupBy) BoolX(ctx context.Context) bool + func (mgb *MailboxGroupBy) Bools(ctx context.Context) ([]bool, error) + func (mgb *MailboxGroupBy) BoolsX(ctx context.Context) []bool + func (mgb *MailboxGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (mgb *MailboxGroupBy) Float64X(ctx context.Context) float64 + func (mgb *MailboxGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (mgb *MailboxGroupBy) Float64sX(ctx context.Context) []float64 + func (mgb *MailboxGroupBy) Int(ctx context.Context) (_ int, err error) + func (mgb *MailboxGroupBy) IntX(ctx context.Context) int + func (mgb *MailboxGroupBy) Ints(ctx context.Context) ([]int, error) + func (mgb *MailboxGroupBy) IntsX(ctx context.Context) []int + func (mgb *MailboxGroupBy) Scan(ctx context.Context, v interface{}) error + func (mgb *MailboxGroupBy) ScanX(ctx context.Context, v interface{}) + func (mgb *MailboxGroupBy) String(ctx context.Context) (_ string, err error) + func (mgb *MailboxGroupBy) StringX(ctx context.Context) string + func (mgb *MailboxGroupBy) Strings(ctx context.Context) ([]string, error) + func (mgb *MailboxGroupBy) StringsX(ctx context.Context) []string + type MailboxMutation struct + func (m *MailboxMutation) AddAttributeIDs(ids ...int) + func (m *MailboxMutation) AddField(name string, value ent.Value) error + func (m *MailboxMutation) AddFlagIDs(ids ...int) + func (m *MailboxMutation) AddPermanentFlagIDs(ids ...int) + func (m *MailboxMutation) AddUIDIDs(ids ...int) + func (m *MailboxMutation) AddUIDNext(i int) + func (m *MailboxMutation) AddUIDValidity(i int) + func (m *MailboxMutation) AddedEdges() []string + func (m *MailboxMutation) AddedField(name string) (ent.Value, bool) + func (m *MailboxMutation) AddedFields() []string + func (m *MailboxMutation) AddedIDs(name string) []ent.Value + func (m *MailboxMutation) AddedUIDNext() (r int, exists bool) + func (m *MailboxMutation) AddedUIDValidity() (r int, exists bool) + func (m *MailboxMutation) AttributesCleared() bool + func (m *MailboxMutation) AttributesIDs() (ids []int) + func (m *MailboxMutation) ClearAttributes() + func (m *MailboxMutation) ClearEdge(name string) error + func (m *MailboxMutation) ClearField(name string) error + func (m *MailboxMutation) ClearFlags() + func (m *MailboxMutation) ClearPermanentFlags() + func (m *MailboxMutation) ClearUIDs() + func (m *MailboxMutation) ClearedEdges() []string + func (m *MailboxMutation) ClearedFields() []string + func (m *MailboxMutation) EdgeCleared(name string) bool + func (m *MailboxMutation) Field(name string) (ent.Value, bool) + func (m *MailboxMutation) FieldCleared(name string) bool + func (m *MailboxMutation) Fields() []string + func (m *MailboxMutation) FlagsCleared() bool + func (m *MailboxMutation) FlagsIDs() (ids []int) + func (m *MailboxMutation) ID() (id int, exists bool) + func (m *MailboxMutation) IDs(ctx context.Context) ([]int, error) + func (m *MailboxMutation) MailboxID() (r string, exists bool) + func (m *MailboxMutation) Name() (r string, exists bool) + func (m *MailboxMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MailboxMutation) OldMailboxID(ctx context.Context) (v string, err error) + func (m *MailboxMutation) OldName(ctx context.Context) (v string, err error) + func (m *MailboxMutation) OldSubscribed(ctx context.Context) (v bool, err error) + func (m *MailboxMutation) OldUIDNext(ctx context.Context) (v int, err error) + func (m *MailboxMutation) OldUIDValidity(ctx context.Context) (v int, err error) + func (m *MailboxMutation) Op() Op + func (m *MailboxMutation) PermanentFlagsCleared() bool + func (m *MailboxMutation) PermanentFlagsIDs() (ids []int) + func (m *MailboxMutation) RemoveAttributeIDs(ids ...int) + func (m *MailboxMutation) RemoveFlagIDs(ids ...int) + func (m *MailboxMutation) RemovePermanentFlagIDs(ids ...int) + func (m *MailboxMutation) RemoveUIDIDs(ids ...int) + func (m *MailboxMutation) RemovedAttributesIDs() (ids []int) + func (m *MailboxMutation) RemovedEdges() []string + func (m *MailboxMutation) RemovedFlagsIDs() (ids []int) + func (m *MailboxMutation) RemovedIDs(name string) []ent.Value + func (m *MailboxMutation) RemovedPermanentFlagsIDs() (ids []int) + func (m *MailboxMutation) RemovedUIDsIDs() (ids []int) + func (m *MailboxMutation) ResetAttributes() + func (m *MailboxMutation) ResetEdge(name string) error + func (m *MailboxMutation) ResetField(name string) error + func (m *MailboxMutation) ResetFlags() + func (m *MailboxMutation) ResetMailboxID() + func (m *MailboxMutation) ResetName() + func (m *MailboxMutation) ResetPermanentFlags() + func (m *MailboxMutation) ResetSubscribed() + func (m *MailboxMutation) ResetUIDNext() + func (m *MailboxMutation) ResetUIDValidity() + func (m *MailboxMutation) ResetUIDs() + func (m *MailboxMutation) SetField(name string, value ent.Value) error + func (m *MailboxMutation) SetMailboxID(s string) + func (m *MailboxMutation) SetName(s string) + func (m *MailboxMutation) SetSubscribed(b bool) + func (m *MailboxMutation) SetUIDNext(i int) + func (m *MailboxMutation) SetUIDValidity(i int) + func (m *MailboxMutation) Subscribed() (r bool, exists bool) + func (m *MailboxMutation) Type() string + func (m *MailboxMutation) UIDNext() (r int, exists bool) + func (m *MailboxMutation) UIDValidity() (r int, exists bool) + func (m *MailboxMutation) UIDsCleared() bool + func (m *MailboxMutation) UIDsIDs() (ids []int) + func (m *MailboxMutation) Where(ps ...predicate.Mailbox) + func (m MailboxMutation) Client() *Client + func (m MailboxMutation) Tx() (*Tx, error) + type MailboxPermFlag struct + ID int + Value string + func (mpf *MailboxPermFlag) String() string + func (mpf *MailboxPermFlag) Unwrap() *MailboxPermFlag + func (mpf *MailboxPermFlag) Update() *MailboxPermFlagUpdateOne + type MailboxPermFlagClient struct + func NewMailboxPermFlagClient(c config) *MailboxPermFlagClient + func (c *MailboxPermFlagClient) Create() *MailboxPermFlagCreate + func (c *MailboxPermFlagClient) CreateBulk(builders ...*MailboxPermFlagCreate) *MailboxPermFlagCreateBulk + func (c *MailboxPermFlagClient) Delete() *MailboxPermFlagDelete + func (c *MailboxPermFlagClient) DeleteOne(mpf *MailboxPermFlag) *MailboxPermFlagDeleteOne + func (c *MailboxPermFlagClient) DeleteOneID(id int) *MailboxPermFlagDeleteOne + func (c *MailboxPermFlagClient) Get(ctx context.Context, id int) (*MailboxPermFlag, error) + func (c *MailboxPermFlagClient) GetX(ctx context.Context, id int) *MailboxPermFlag + func (c *MailboxPermFlagClient) Hooks() []Hook + func (c *MailboxPermFlagClient) Query() *MailboxPermFlagQuery + func (c *MailboxPermFlagClient) Update() *MailboxPermFlagUpdate + func (c *MailboxPermFlagClient) UpdateOne(mpf *MailboxPermFlag) *MailboxPermFlagUpdateOne + func (c *MailboxPermFlagClient) UpdateOneID(id int) *MailboxPermFlagUpdateOne + func (c *MailboxPermFlagClient) Use(hooks ...Hook) + type MailboxPermFlagCreate struct + func (mpfc *MailboxPermFlagCreate) Exec(ctx context.Context) error + func (mpfc *MailboxPermFlagCreate) ExecX(ctx context.Context) + func (mpfc *MailboxPermFlagCreate) Mutation() *MailboxPermFlagMutation + func (mpfc *MailboxPermFlagCreate) Save(ctx context.Context) (*MailboxPermFlag, error) + func (mpfc *MailboxPermFlagCreate) SaveX(ctx context.Context) *MailboxPermFlag + func (mpfc *MailboxPermFlagCreate) SetValue(s string) *MailboxPermFlagCreate + type MailboxPermFlagCreateBulk struct + func (mpfcb *MailboxPermFlagCreateBulk) Exec(ctx context.Context) error + func (mpfcb *MailboxPermFlagCreateBulk) ExecX(ctx context.Context) + func (mpfcb *MailboxPermFlagCreateBulk) Save(ctx context.Context) ([]*MailboxPermFlag, error) + func (mpfcb *MailboxPermFlagCreateBulk) SaveX(ctx context.Context) []*MailboxPermFlag + type MailboxPermFlagDelete struct + func (mpfd *MailboxPermFlagDelete) Exec(ctx context.Context) (int, error) + func (mpfd *MailboxPermFlagDelete) ExecX(ctx context.Context) int + func (mpfd *MailboxPermFlagDelete) Where(ps ...predicate.MailboxPermFlag) *MailboxPermFlagDelete + type MailboxPermFlagDeleteOne struct + func (mpfdo *MailboxPermFlagDeleteOne) Exec(ctx context.Context) error + func (mpfdo *MailboxPermFlagDeleteOne) ExecX(ctx context.Context) + type MailboxPermFlagGroupBy struct + func (mpfgb *MailboxPermFlagGroupBy) Aggregate(fns ...AggregateFunc) *MailboxPermFlagGroupBy + func (mpfgb *MailboxPermFlagGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (mpfgb *MailboxPermFlagGroupBy) BoolX(ctx context.Context) bool + func (mpfgb *MailboxPermFlagGroupBy) Bools(ctx context.Context) ([]bool, error) + func (mpfgb *MailboxPermFlagGroupBy) BoolsX(ctx context.Context) []bool + func (mpfgb *MailboxPermFlagGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (mpfgb *MailboxPermFlagGroupBy) Float64X(ctx context.Context) float64 + func (mpfgb *MailboxPermFlagGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (mpfgb *MailboxPermFlagGroupBy) Float64sX(ctx context.Context) []float64 + func (mpfgb *MailboxPermFlagGroupBy) Int(ctx context.Context) (_ int, err error) + func (mpfgb *MailboxPermFlagGroupBy) IntX(ctx context.Context) int + func (mpfgb *MailboxPermFlagGroupBy) Ints(ctx context.Context) ([]int, error) + func (mpfgb *MailboxPermFlagGroupBy) IntsX(ctx context.Context) []int + func (mpfgb *MailboxPermFlagGroupBy) Scan(ctx context.Context, v interface{}) error + func (mpfgb *MailboxPermFlagGroupBy) ScanX(ctx context.Context, v interface{}) + func (mpfgb *MailboxPermFlagGroupBy) String(ctx context.Context) (_ string, err error) + func (mpfgb *MailboxPermFlagGroupBy) StringX(ctx context.Context) string + func (mpfgb *MailboxPermFlagGroupBy) Strings(ctx context.Context) ([]string, error) + func (mpfgb *MailboxPermFlagGroupBy) StringsX(ctx context.Context) []string + type MailboxPermFlagMutation struct + func (m *MailboxPermFlagMutation) AddField(name string, value ent.Value) error + func (m *MailboxPermFlagMutation) AddedEdges() []string + func (m *MailboxPermFlagMutation) AddedField(name string) (ent.Value, bool) + func (m *MailboxPermFlagMutation) AddedFields() []string + func (m *MailboxPermFlagMutation) AddedIDs(name string) []ent.Value + func (m *MailboxPermFlagMutation) ClearEdge(name string) error + func (m *MailboxPermFlagMutation) ClearField(name string) error + func (m *MailboxPermFlagMutation) ClearedEdges() []string + func (m *MailboxPermFlagMutation) ClearedFields() []string + func (m *MailboxPermFlagMutation) EdgeCleared(name string) bool + func (m *MailboxPermFlagMutation) Field(name string) (ent.Value, bool) + func (m *MailboxPermFlagMutation) FieldCleared(name string) bool + func (m *MailboxPermFlagMutation) Fields() []string + func (m *MailboxPermFlagMutation) ID() (id int, exists bool) + func (m *MailboxPermFlagMutation) IDs(ctx context.Context) ([]int, error) + func (m *MailboxPermFlagMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MailboxPermFlagMutation) OldValue(ctx context.Context) (v string, err error) + func (m *MailboxPermFlagMutation) Op() Op + func (m *MailboxPermFlagMutation) RemovedEdges() []string + func (m *MailboxPermFlagMutation) RemovedIDs(name string) []ent.Value + func (m *MailboxPermFlagMutation) ResetEdge(name string) error + func (m *MailboxPermFlagMutation) ResetField(name string) error + func (m *MailboxPermFlagMutation) ResetValue() + func (m *MailboxPermFlagMutation) SetField(name string, value ent.Value) error + func (m *MailboxPermFlagMutation) SetValue(s string) + func (m *MailboxPermFlagMutation) Type() string + func (m *MailboxPermFlagMutation) Value() (r string, exists bool) + func (m *MailboxPermFlagMutation) Where(ps ...predicate.MailboxPermFlag) + func (m MailboxPermFlagMutation) Client() *Client + func (m MailboxPermFlagMutation) Tx() (*Tx, error) + type MailboxPermFlagQuery struct + func (mpfq *MailboxPermFlagQuery) All(ctx context.Context) ([]*MailboxPermFlag, error) + func (mpfq *MailboxPermFlagQuery) AllX(ctx context.Context) []*MailboxPermFlag + func (mpfq *MailboxPermFlagQuery) Clone() *MailboxPermFlagQuery + func (mpfq *MailboxPermFlagQuery) Count(ctx context.Context) (int, error) + func (mpfq *MailboxPermFlagQuery) CountX(ctx context.Context) int + func (mpfq *MailboxPermFlagQuery) Exist(ctx context.Context) (bool, error) + func (mpfq *MailboxPermFlagQuery) ExistX(ctx context.Context) bool + func (mpfq *MailboxPermFlagQuery) First(ctx context.Context) (*MailboxPermFlag, error) + func (mpfq *MailboxPermFlagQuery) FirstID(ctx context.Context) (id int, err error) + func (mpfq *MailboxPermFlagQuery) FirstIDX(ctx context.Context) int + func (mpfq *MailboxPermFlagQuery) FirstX(ctx context.Context) *MailboxPermFlag + func (mpfq *MailboxPermFlagQuery) GroupBy(field string, fields ...string) *MailboxPermFlagGroupBy + func (mpfq *MailboxPermFlagQuery) IDs(ctx context.Context) ([]int, error) + func (mpfq *MailboxPermFlagQuery) IDsX(ctx context.Context) []int + func (mpfq *MailboxPermFlagQuery) Limit(limit int) *MailboxPermFlagQuery + func (mpfq *MailboxPermFlagQuery) Offset(offset int) *MailboxPermFlagQuery + func (mpfq *MailboxPermFlagQuery) Only(ctx context.Context) (*MailboxPermFlag, error) + func (mpfq *MailboxPermFlagQuery) OnlyID(ctx context.Context) (id int, err error) + func (mpfq *MailboxPermFlagQuery) OnlyIDX(ctx context.Context) int + func (mpfq *MailboxPermFlagQuery) OnlyX(ctx context.Context) *MailboxPermFlag + func (mpfq *MailboxPermFlagQuery) Order(o ...OrderFunc) *MailboxPermFlagQuery + func (mpfq *MailboxPermFlagQuery) Select(fields ...string) *MailboxPermFlagSelect + func (mpfq *MailboxPermFlagQuery) Unique(unique bool) *MailboxPermFlagQuery + func (mpfq *MailboxPermFlagQuery) Where(ps ...predicate.MailboxPermFlag) *MailboxPermFlagQuery + type MailboxPermFlagSelect struct + func (mpfs *MailboxPermFlagSelect) Bool(ctx context.Context) (_ bool, err error) + func (mpfs *MailboxPermFlagSelect) BoolX(ctx context.Context) bool + func (mpfs *MailboxPermFlagSelect) Bools(ctx context.Context) ([]bool, error) + func (mpfs *MailboxPermFlagSelect) BoolsX(ctx context.Context) []bool + func (mpfs *MailboxPermFlagSelect) Float64(ctx context.Context) (_ float64, err error) + func (mpfs *MailboxPermFlagSelect) Float64X(ctx context.Context) float64 + func (mpfs *MailboxPermFlagSelect) Float64s(ctx context.Context) ([]float64, error) + func (mpfs *MailboxPermFlagSelect) Float64sX(ctx context.Context) []float64 + func (mpfs *MailboxPermFlagSelect) Int(ctx context.Context) (_ int, err error) + func (mpfs *MailboxPermFlagSelect) IntX(ctx context.Context) int + func (mpfs *MailboxPermFlagSelect) Ints(ctx context.Context) ([]int, error) + func (mpfs *MailboxPermFlagSelect) IntsX(ctx context.Context) []int + func (mpfs *MailboxPermFlagSelect) Scan(ctx context.Context, v interface{}) error + func (mpfs *MailboxPermFlagSelect) ScanX(ctx context.Context, v interface{}) + func (mpfs *MailboxPermFlagSelect) String(ctx context.Context) (_ string, err error) + func (mpfs *MailboxPermFlagSelect) StringX(ctx context.Context) string + func (mpfs *MailboxPermFlagSelect) Strings(ctx context.Context) ([]string, error) + func (mpfs *MailboxPermFlagSelect) StringsX(ctx context.Context) []string + type MailboxPermFlagUpdate struct + func (mpfu *MailboxPermFlagUpdate) Exec(ctx context.Context) error + func (mpfu *MailboxPermFlagUpdate) ExecX(ctx context.Context) + func (mpfu *MailboxPermFlagUpdate) Mutation() *MailboxPermFlagMutation + func (mpfu *MailboxPermFlagUpdate) Save(ctx context.Context) (int, error) + func (mpfu *MailboxPermFlagUpdate) SaveX(ctx context.Context) int + func (mpfu *MailboxPermFlagUpdate) SetValue(s string) *MailboxPermFlagUpdate + func (mpfu *MailboxPermFlagUpdate) Where(ps ...predicate.MailboxPermFlag) *MailboxPermFlagUpdate + type MailboxPermFlagUpdateOne struct + func (mpfuo *MailboxPermFlagUpdateOne) Exec(ctx context.Context) error + func (mpfuo *MailboxPermFlagUpdateOne) ExecX(ctx context.Context) + func (mpfuo *MailboxPermFlagUpdateOne) Mutation() *MailboxPermFlagMutation + func (mpfuo *MailboxPermFlagUpdateOne) Save(ctx context.Context) (*MailboxPermFlag, error) + func (mpfuo *MailboxPermFlagUpdateOne) SaveX(ctx context.Context) *MailboxPermFlag + func (mpfuo *MailboxPermFlagUpdateOne) Select(field string, fields ...string) *MailboxPermFlagUpdateOne + func (mpfuo *MailboxPermFlagUpdateOne) SetValue(s string) *MailboxPermFlagUpdateOne + type MailboxPermFlags []*MailboxPermFlag + type MailboxQuery struct + func (mq *MailboxQuery) All(ctx context.Context) ([]*Mailbox, error) + func (mq *MailboxQuery) AllX(ctx context.Context) []*Mailbox + func (mq *MailboxQuery) Clone() *MailboxQuery + func (mq *MailboxQuery) Count(ctx context.Context) (int, error) + func (mq *MailboxQuery) CountX(ctx context.Context) int + func (mq *MailboxQuery) Exist(ctx context.Context) (bool, error) + func (mq *MailboxQuery) ExistX(ctx context.Context) bool + func (mq *MailboxQuery) First(ctx context.Context) (*Mailbox, error) + func (mq *MailboxQuery) FirstID(ctx context.Context) (id int, err error) + func (mq *MailboxQuery) FirstIDX(ctx context.Context) int + func (mq *MailboxQuery) FirstX(ctx context.Context) *Mailbox + func (mq *MailboxQuery) GroupBy(field string, fields ...string) *MailboxGroupBy + func (mq *MailboxQuery) IDs(ctx context.Context) ([]int, error) + func (mq *MailboxQuery) IDsX(ctx context.Context) []int + func (mq *MailboxQuery) Limit(limit int) *MailboxQuery + func (mq *MailboxQuery) Offset(offset int) *MailboxQuery + func (mq *MailboxQuery) Only(ctx context.Context) (*Mailbox, error) + func (mq *MailboxQuery) OnlyID(ctx context.Context) (id int, err error) + func (mq *MailboxQuery) OnlyIDX(ctx context.Context) int + func (mq *MailboxQuery) OnlyX(ctx context.Context) *Mailbox + func (mq *MailboxQuery) Order(o ...OrderFunc) *MailboxQuery + func (mq *MailboxQuery) QueryAttributes() *MailboxAttrQuery + func (mq *MailboxQuery) QueryFlags() *MailboxFlagQuery + func (mq *MailboxQuery) QueryPermanentFlags() *MailboxPermFlagQuery + func (mq *MailboxQuery) QueryUIDs() *UIDQuery + func (mq *MailboxQuery) Select(fields ...string) *MailboxSelect + func (mq *MailboxQuery) Unique(unique bool) *MailboxQuery + func (mq *MailboxQuery) Where(ps ...predicate.Mailbox) *MailboxQuery + func (mq *MailboxQuery) WithAttributes(opts ...func(*MailboxAttrQuery)) *MailboxQuery + func (mq *MailboxQuery) WithFlags(opts ...func(*MailboxFlagQuery)) *MailboxQuery + func (mq *MailboxQuery) WithPermanentFlags(opts ...func(*MailboxPermFlagQuery)) *MailboxQuery + func (mq *MailboxQuery) WithUIDs(opts ...func(*UIDQuery)) *MailboxQuery + type MailboxSelect struct + func (ms *MailboxSelect) Bool(ctx context.Context) (_ bool, err error) + func (ms *MailboxSelect) BoolX(ctx context.Context) bool + func (ms *MailboxSelect) Bools(ctx context.Context) ([]bool, error) + func (ms *MailboxSelect) BoolsX(ctx context.Context) []bool + func (ms *MailboxSelect) Float64(ctx context.Context) (_ float64, err error) + func (ms *MailboxSelect) Float64X(ctx context.Context) float64 + func (ms *MailboxSelect) Float64s(ctx context.Context) ([]float64, error) + func (ms *MailboxSelect) Float64sX(ctx context.Context) []float64 + func (ms *MailboxSelect) Int(ctx context.Context) (_ int, err error) + func (ms *MailboxSelect) IntX(ctx context.Context) int + func (ms *MailboxSelect) Ints(ctx context.Context) ([]int, error) + func (ms *MailboxSelect) IntsX(ctx context.Context) []int + func (ms *MailboxSelect) Scan(ctx context.Context, v interface{}) error + func (ms *MailboxSelect) ScanX(ctx context.Context, v interface{}) + func (ms *MailboxSelect) String(ctx context.Context) (_ string, err error) + func (ms *MailboxSelect) StringX(ctx context.Context) string + func (ms *MailboxSelect) Strings(ctx context.Context) ([]string, error) + func (ms *MailboxSelect) StringsX(ctx context.Context) []string + type MailboxUpdate struct + func (mu *MailboxUpdate) AddAttributeIDs(ids ...int) *MailboxUpdate + func (mu *MailboxUpdate) AddAttributes(m ...*MailboxAttr) *MailboxUpdate + func (mu *MailboxUpdate) AddFlagIDs(ids ...int) *MailboxUpdate + func (mu *MailboxUpdate) AddFlags(m ...*MailboxFlag) *MailboxUpdate + func (mu *MailboxUpdate) AddPermanentFlagIDs(ids ...int) *MailboxUpdate + func (mu *MailboxUpdate) AddPermanentFlags(m ...*MailboxPermFlag) *MailboxUpdate + func (mu *MailboxUpdate) AddUIDIDs(ids ...int) *MailboxUpdate + func (mu *MailboxUpdate) AddUIDNext(i int) *MailboxUpdate + func (mu *MailboxUpdate) AddUIDValidity(i int) *MailboxUpdate + func (mu *MailboxUpdate) AddUIDs(u ...*UID) *MailboxUpdate + func (mu *MailboxUpdate) ClearAttributes() *MailboxUpdate + func (mu *MailboxUpdate) ClearFlags() *MailboxUpdate + func (mu *MailboxUpdate) ClearPermanentFlags() *MailboxUpdate + func (mu *MailboxUpdate) ClearUIDs() *MailboxUpdate + func (mu *MailboxUpdate) Exec(ctx context.Context) error + func (mu *MailboxUpdate) ExecX(ctx context.Context) + func (mu *MailboxUpdate) Mutation() *MailboxMutation + func (mu *MailboxUpdate) RemoveAttributeIDs(ids ...int) *MailboxUpdate + func (mu *MailboxUpdate) RemoveAttributes(m ...*MailboxAttr) *MailboxUpdate + func (mu *MailboxUpdate) RemoveFlagIDs(ids ...int) *MailboxUpdate + func (mu *MailboxUpdate) RemoveFlags(m ...*MailboxFlag) *MailboxUpdate + func (mu *MailboxUpdate) RemovePermanentFlagIDs(ids ...int) *MailboxUpdate + func (mu *MailboxUpdate) RemovePermanentFlags(m ...*MailboxPermFlag) *MailboxUpdate + func (mu *MailboxUpdate) RemoveUIDIDs(ids ...int) *MailboxUpdate + func (mu *MailboxUpdate) RemoveUIDs(u ...*UID) *MailboxUpdate + func (mu *MailboxUpdate) Save(ctx context.Context) (int, error) + func (mu *MailboxUpdate) SaveX(ctx context.Context) int + func (mu *MailboxUpdate) SetMailboxID(s string) *MailboxUpdate + func (mu *MailboxUpdate) SetName(s string) *MailboxUpdate + func (mu *MailboxUpdate) SetNillableSubscribed(b *bool) *MailboxUpdate + func (mu *MailboxUpdate) SetNillableUIDNext(i *int) *MailboxUpdate + func (mu *MailboxUpdate) SetNillableUIDValidity(i *int) *MailboxUpdate + func (mu *MailboxUpdate) SetSubscribed(b bool) *MailboxUpdate + func (mu *MailboxUpdate) SetUIDNext(i int) *MailboxUpdate + func (mu *MailboxUpdate) SetUIDValidity(i int) *MailboxUpdate + func (mu *MailboxUpdate) Where(ps ...predicate.Mailbox) *MailboxUpdate + type MailboxUpdateOne struct + func (muo *MailboxUpdateOne) AddAttributeIDs(ids ...int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) AddAttributes(m ...*MailboxAttr) *MailboxUpdateOne + func (muo *MailboxUpdateOne) AddFlagIDs(ids ...int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) AddFlags(m ...*MailboxFlag) *MailboxUpdateOne + func (muo *MailboxUpdateOne) AddPermanentFlagIDs(ids ...int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) AddPermanentFlags(m ...*MailboxPermFlag) *MailboxUpdateOne + func (muo *MailboxUpdateOne) AddUIDIDs(ids ...int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) AddUIDNext(i int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) AddUIDValidity(i int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) AddUIDs(u ...*UID) *MailboxUpdateOne + func (muo *MailboxUpdateOne) ClearAttributes() *MailboxUpdateOne + func (muo *MailboxUpdateOne) ClearFlags() *MailboxUpdateOne + func (muo *MailboxUpdateOne) ClearPermanentFlags() *MailboxUpdateOne + func (muo *MailboxUpdateOne) ClearUIDs() *MailboxUpdateOne + func (muo *MailboxUpdateOne) Exec(ctx context.Context) error + func (muo *MailboxUpdateOne) ExecX(ctx context.Context) + func (muo *MailboxUpdateOne) Mutation() *MailboxMutation + func (muo *MailboxUpdateOne) RemoveAttributeIDs(ids ...int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) RemoveAttributes(m ...*MailboxAttr) *MailboxUpdateOne + func (muo *MailboxUpdateOne) RemoveFlagIDs(ids ...int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) RemoveFlags(m ...*MailboxFlag) *MailboxUpdateOne + func (muo *MailboxUpdateOne) RemovePermanentFlagIDs(ids ...int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) RemovePermanentFlags(m ...*MailboxPermFlag) *MailboxUpdateOne + func (muo *MailboxUpdateOne) RemoveUIDIDs(ids ...int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) RemoveUIDs(u ...*UID) *MailboxUpdateOne + func (muo *MailboxUpdateOne) Save(ctx context.Context) (*Mailbox, error) + func (muo *MailboxUpdateOne) SaveX(ctx context.Context) *Mailbox + func (muo *MailboxUpdateOne) Select(field string, fields ...string) *MailboxUpdateOne + func (muo *MailboxUpdateOne) SetMailboxID(s string) *MailboxUpdateOne + func (muo *MailboxUpdateOne) SetName(s string) *MailboxUpdateOne + func (muo *MailboxUpdateOne) SetNillableSubscribed(b *bool) *MailboxUpdateOne + func (muo *MailboxUpdateOne) SetNillableUIDNext(i *int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) SetNillableUIDValidity(i *int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) SetSubscribed(b bool) *MailboxUpdateOne + func (muo *MailboxUpdateOne) SetUIDNext(i int) *MailboxUpdateOne + func (muo *MailboxUpdateOne) SetUIDValidity(i int) *MailboxUpdateOne + type Mailboxes []*Mailbox + type Message struct + Body string + BodyStructure string + Date time.Time + Edges MessageEdges + Envelope string + ID int + InternalID string + MessageID string + Size int + func (m *Message) QueryFlags() *MessageFlagQuery + func (m *Message) QueryUIDs() *UIDQuery + func (m *Message) String() string + func (m *Message) Unwrap() *Message + func (m *Message) Update() *MessageUpdateOne + type MessageClient struct + func NewMessageClient(c config) *MessageClient + func (c *MessageClient) Create() *MessageCreate + func (c *MessageClient) CreateBulk(builders ...*MessageCreate) *MessageCreateBulk + func (c *MessageClient) Delete() *MessageDelete + func (c *MessageClient) DeleteOne(m *Message) *MessageDeleteOne + func (c *MessageClient) DeleteOneID(id int) *MessageDeleteOne + func (c *MessageClient) Get(ctx context.Context, id int) (*Message, error) + func (c *MessageClient) GetX(ctx context.Context, id int) *Message + func (c *MessageClient) Hooks() []Hook + func (c *MessageClient) Query() *MessageQuery + func (c *MessageClient) QueryFlags(m *Message) *MessageFlagQuery + func (c *MessageClient) QueryUIDs(m *Message) *UIDQuery + func (c *MessageClient) Update() *MessageUpdate + func (c *MessageClient) UpdateOne(m *Message) *MessageUpdateOne + func (c *MessageClient) UpdateOneID(id int) *MessageUpdateOne + func (c *MessageClient) Use(hooks ...Hook) + type MessageCreate struct + func (mc *MessageCreate) AddFlagIDs(ids ...int) *MessageCreate + func (mc *MessageCreate) AddFlags(m ...*MessageFlag) *MessageCreate + func (mc *MessageCreate) AddUIDIDs(ids ...int) *MessageCreate + func (mc *MessageCreate) AddUIDs(u ...*UID) *MessageCreate + func (mc *MessageCreate) Exec(ctx context.Context) error + func (mc *MessageCreate) ExecX(ctx context.Context) + func (mc *MessageCreate) Mutation() *MessageMutation + func (mc *MessageCreate) Save(ctx context.Context) (*Message, error) + func (mc *MessageCreate) SaveX(ctx context.Context) *Message + func (mc *MessageCreate) SetBody(s string) *MessageCreate + func (mc *MessageCreate) SetBodyStructure(s string) *MessageCreate + func (mc *MessageCreate) SetDate(t time.Time) *MessageCreate + func (mc *MessageCreate) SetEnvelope(s string) *MessageCreate + func (mc *MessageCreate) SetInternalID(s string) *MessageCreate + func (mc *MessageCreate) SetMessageID(s string) *MessageCreate + func (mc *MessageCreate) SetSize(i int) *MessageCreate + type MessageCreateBulk struct + func (mcb *MessageCreateBulk) Exec(ctx context.Context) error + func (mcb *MessageCreateBulk) ExecX(ctx context.Context) + func (mcb *MessageCreateBulk) Save(ctx context.Context) ([]*Message, error) + func (mcb *MessageCreateBulk) SaveX(ctx context.Context) []*Message + type MessageDelete struct + func (md *MessageDelete) Exec(ctx context.Context) (int, error) + func (md *MessageDelete) ExecX(ctx context.Context) int + func (md *MessageDelete) Where(ps ...predicate.Message) *MessageDelete + type MessageDeleteOne struct + func (mdo *MessageDeleteOne) Exec(ctx context.Context) error + func (mdo *MessageDeleteOne) ExecX(ctx context.Context) + type MessageEdges struct + Flags []*MessageFlag + UIDs []*UID + func (e MessageEdges) FlagsOrErr() ([]*MessageFlag, error) + func (e MessageEdges) UIDsOrErr() ([]*UID, error) + type MessageFlag struct + ID int + Value string + func (mf *MessageFlag) String() string + func (mf *MessageFlag) Unwrap() *MessageFlag + func (mf *MessageFlag) Update() *MessageFlagUpdateOne + type MessageFlagClient struct + func NewMessageFlagClient(c config) *MessageFlagClient + func (c *MessageFlagClient) Create() *MessageFlagCreate + func (c *MessageFlagClient) CreateBulk(builders ...*MessageFlagCreate) *MessageFlagCreateBulk + func (c *MessageFlagClient) Delete() *MessageFlagDelete + func (c *MessageFlagClient) DeleteOne(mf *MessageFlag) *MessageFlagDeleteOne + func (c *MessageFlagClient) DeleteOneID(id int) *MessageFlagDeleteOne + func (c *MessageFlagClient) Get(ctx context.Context, id int) (*MessageFlag, error) + func (c *MessageFlagClient) GetX(ctx context.Context, id int) *MessageFlag + func (c *MessageFlagClient) Hooks() []Hook + func (c *MessageFlagClient) Query() *MessageFlagQuery + func (c *MessageFlagClient) Update() *MessageFlagUpdate + func (c *MessageFlagClient) UpdateOne(mf *MessageFlag) *MessageFlagUpdateOne + func (c *MessageFlagClient) UpdateOneID(id int) *MessageFlagUpdateOne + func (c *MessageFlagClient) Use(hooks ...Hook) + type MessageFlagCreate struct + func (mfc *MessageFlagCreate) Exec(ctx context.Context) error + func (mfc *MessageFlagCreate) ExecX(ctx context.Context) + func (mfc *MessageFlagCreate) Mutation() *MessageFlagMutation + func (mfc *MessageFlagCreate) Save(ctx context.Context) (*MessageFlag, error) + func (mfc *MessageFlagCreate) SaveX(ctx context.Context) *MessageFlag + func (mfc *MessageFlagCreate) SetValue(s string) *MessageFlagCreate + type MessageFlagCreateBulk struct + func (mfcb *MessageFlagCreateBulk) Exec(ctx context.Context) error + func (mfcb *MessageFlagCreateBulk) ExecX(ctx context.Context) + func (mfcb *MessageFlagCreateBulk) Save(ctx context.Context) ([]*MessageFlag, error) + func (mfcb *MessageFlagCreateBulk) SaveX(ctx context.Context) []*MessageFlag + type MessageFlagDelete struct + func (mfd *MessageFlagDelete) Exec(ctx context.Context) (int, error) + func (mfd *MessageFlagDelete) ExecX(ctx context.Context) int + func (mfd *MessageFlagDelete) Where(ps ...predicate.MessageFlag) *MessageFlagDelete + type MessageFlagDeleteOne struct + func (mfdo *MessageFlagDeleteOne) Exec(ctx context.Context) error + func (mfdo *MessageFlagDeleteOne) ExecX(ctx context.Context) + type MessageFlagGroupBy struct + func (mfgb *MessageFlagGroupBy) Aggregate(fns ...AggregateFunc) *MessageFlagGroupBy + func (mfgb *MessageFlagGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (mfgb *MessageFlagGroupBy) BoolX(ctx context.Context) bool + func (mfgb *MessageFlagGroupBy) Bools(ctx context.Context) ([]bool, error) + func (mfgb *MessageFlagGroupBy) BoolsX(ctx context.Context) []bool + func (mfgb *MessageFlagGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (mfgb *MessageFlagGroupBy) Float64X(ctx context.Context) float64 + func (mfgb *MessageFlagGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (mfgb *MessageFlagGroupBy) Float64sX(ctx context.Context) []float64 + func (mfgb *MessageFlagGroupBy) Int(ctx context.Context) (_ int, err error) + func (mfgb *MessageFlagGroupBy) IntX(ctx context.Context) int + func (mfgb *MessageFlagGroupBy) Ints(ctx context.Context) ([]int, error) + func (mfgb *MessageFlagGroupBy) IntsX(ctx context.Context) []int + func (mfgb *MessageFlagGroupBy) Scan(ctx context.Context, v interface{}) error + func (mfgb *MessageFlagGroupBy) ScanX(ctx context.Context, v interface{}) + func (mfgb *MessageFlagGroupBy) String(ctx context.Context) (_ string, err error) + func (mfgb *MessageFlagGroupBy) StringX(ctx context.Context) string + func (mfgb *MessageFlagGroupBy) Strings(ctx context.Context) ([]string, error) + func (mfgb *MessageFlagGroupBy) StringsX(ctx context.Context) []string + type MessageFlagMutation struct + func (m *MessageFlagMutation) AddField(name string, value ent.Value) error + func (m *MessageFlagMutation) AddedEdges() []string + func (m *MessageFlagMutation) AddedField(name string) (ent.Value, bool) + func (m *MessageFlagMutation) AddedFields() []string + func (m *MessageFlagMutation) AddedIDs(name string) []ent.Value + func (m *MessageFlagMutation) ClearEdge(name string) error + func (m *MessageFlagMutation) ClearField(name string) error + func (m *MessageFlagMutation) ClearedEdges() []string + func (m *MessageFlagMutation) ClearedFields() []string + func (m *MessageFlagMutation) EdgeCleared(name string) bool + func (m *MessageFlagMutation) Field(name string) (ent.Value, bool) + func (m *MessageFlagMutation) FieldCleared(name string) bool + func (m *MessageFlagMutation) Fields() []string + func (m *MessageFlagMutation) ID() (id int, exists bool) + func (m *MessageFlagMutation) IDs(ctx context.Context) ([]int, error) + func (m *MessageFlagMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MessageFlagMutation) OldValue(ctx context.Context) (v string, err error) + func (m *MessageFlagMutation) Op() Op + func (m *MessageFlagMutation) RemovedEdges() []string + func (m *MessageFlagMutation) RemovedIDs(name string) []ent.Value + func (m *MessageFlagMutation) ResetEdge(name string) error + func (m *MessageFlagMutation) ResetField(name string) error + func (m *MessageFlagMutation) ResetValue() + func (m *MessageFlagMutation) SetField(name string, value ent.Value) error + func (m *MessageFlagMutation) SetValue(s string) + func (m *MessageFlagMutation) Type() string + func (m *MessageFlagMutation) Value() (r string, exists bool) + func (m *MessageFlagMutation) Where(ps ...predicate.MessageFlag) + func (m MessageFlagMutation) Client() *Client + func (m MessageFlagMutation) Tx() (*Tx, error) + type MessageFlagQuery struct + func (mfq *MessageFlagQuery) All(ctx context.Context) ([]*MessageFlag, error) + func (mfq *MessageFlagQuery) AllX(ctx context.Context) []*MessageFlag + func (mfq *MessageFlagQuery) Clone() *MessageFlagQuery + func (mfq *MessageFlagQuery) Count(ctx context.Context) (int, error) + func (mfq *MessageFlagQuery) CountX(ctx context.Context) int + func (mfq *MessageFlagQuery) Exist(ctx context.Context) (bool, error) + func (mfq *MessageFlagQuery) ExistX(ctx context.Context) bool + func (mfq *MessageFlagQuery) First(ctx context.Context) (*MessageFlag, error) + func (mfq *MessageFlagQuery) FirstID(ctx context.Context) (id int, err error) + func (mfq *MessageFlagQuery) FirstIDX(ctx context.Context) int + func (mfq *MessageFlagQuery) FirstX(ctx context.Context) *MessageFlag + func (mfq *MessageFlagQuery) GroupBy(field string, fields ...string) *MessageFlagGroupBy + func (mfq *MessageFlagQuery) IDs(ctx context.Context) ([]int, error) + func (mfq *MessageFlagQuery) IDsX(ctx context.Context) []int + func (mfq *MessageFlagQuery) Limit(limit int) *MessageFlagQuery + func (mfq *MessageFlagQuery) Offset(offset int) *MessageFlagQuery + func (mfq *MessageFlagQuery) Only(ctx context.Context) (*MessageFlag, error) + func (mfq *MessageFlagQuery) OnlyID(ctx context.Context) (id int, err error) + func (mfq *MessageFlagQuery) OnlyIDX(ctx context.Context) int + func (mfq *MessageFlagQuery) OnlyX(ctx context.Context) *MessageFlag + func (mfq *MessageFlagQuery) Order(o ...OrderFunc) *MessageFlagQuery + func (mfq *MessageFlagQuery) Select(fields ...string) *MessageFlagSelect + func (mfq *MessageFlagQuery) Unique(unique bool) *MessageFlagQuery + func (mfq *MessageFlagQuery) Where(ps ...predicate.MessageFlag) *MessageFlagQuery + type MessageFlagSelect struct + func (mfs *MessageFlagSelect) Bool(ctx context.Context) (_ bool, err error) + func (mfs *MessageFlagSelect) BoolX(ctx context.Context) bool + func (mfs *MessageFlagSelect) Bools(ctx context.Context) ([]bool, error) + func (mfs *MessageFlagSelect) BoolsX(ctx context.Context) []bool + func (mfs *MessageFlagSelect) Float64(ctx context.Context) (_ float64, err error) + func (mfs *MessageFlagSelect) Float64X(ctx context.Context) float64 + func (mfs *MessageFlagSelect) Float64s(ctx context.Context) ([]float64, error) + func (mfs *MessageFlagSelect) Float64sX(ctx context.Context) []float64 + func (mfs *MessageFlagSelect) Int(ctx context.Context) (_ int, err error) + func (mfs *MessageFlagSelect) IntX(ctx context.Context) int + func (mfs *MessageFlagSelect) Ints(ctx context.Context) ([]int, error) + func (mfs *MessageFlagSelect) IntsX(ctx context.Context) []int + func (mfs *MessageFlagSelect) Scan(ctx context.Context, v interface{}) error + func (mfs *MessageFlagSelect) ScanX(ctx context.Context, v interface{}) + func (mfs *MessageFlagSelect) String(ctx context.Context) (_ string, err error) + func (mfs *MessageFlagSelect) StringX(ctx context.Context) string + func (mfs *MessageFlagSelect) Strings(ctx context.Context) ([]string, error) + func (mfs *MessageFlagSelect) StringsX(ctx context.Context) []string + type MessageFlagUpdate struct + func (mfu *MessageFlagUpdate) Exec(ctx context.Context) error + func (mfu *MessageFlagUpdate) ExecX(ctx context.Context) + func (mfu *MessageFlagUpdate) Mutation() *MessageFlagMutation + func (mfu *MessageFlagUpdate) Save(ctx context.Context) (int, error) + func (mfu *MessageFlagUpdate) SaveX(ctx context.Context) int + func (mfu *MessageFlagUpdate) SetValue(s string) *MessageFlagUpdate + func (mfu *MessageFlagUpdate) Where(ps ...predicate.MessageFlag) *MessageFlagUpdate + type MessageFlagUpdateOne struct + func (mfuo *MessageFlagUpdateOne) Exec(ctx context.Context) error + func (mfuo *MessageFlagUpdateOne) ExecX(ctx context.Context) + func (mfuo *MessageFlagUpdateOne) Mutation() *MessageFlagMutation + func (mfuo *MessageFlagUpdateOne) Save(ctx context.Context) (*MessageFlag, error) + func (mfuo *MessageFlagUpdateOne) SaveX(ctx context.Context) *MessageFlag + func (mfuo *MessageFlagUpdateOne) Select(field string, fields ...string) *MessageFlagUpdateOne + func (mfuo *MessageFlagUpdateOne) SetValue(s string) *MessageFlagUpdateOne + type MessageFlags []*MessageFlag + type MessageGroupBy struct + func (mgb *MessageGroupBy) Aggregate(fns ...AggregateFunc) *MessageGroupBy + func (mgb *MessageGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (mgb *MessageGroupBy) BoolX(ctx context.Context) bool + func (mgb *MessageGroupBy) Bools(ctx context.Context) ([]bool, error) + func (mgb *MessageGroupBy) BoolsX(ctx context.Context) []bool + func (mgb *MessageGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (mgb *MessageGroupBy) Float64X(ctx context.Context) float64 + func (mgb *MessageGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (mgb *MessageGroupBy) Float64sX(ctx context.Context) []float64 + func (mgb *MessageGroupBy) Int(ctx context.Context) (_ int, err error) + func (mgb *MessageGroupBy) IntX(ctx context.Context) int + func (mgb *MessageGroupBy) Ints(ctx context.Context) ([]int, error) + func (mgb *MessageGroupBy) IntsX(ctx context.Context) []int + func (mgb *MessageGroupBy) Scan(ctx context.Context, v interface{}) error + func (mgb *MessageGroupBy) ScanX(ctx context.Context, v interface{}) + func (mgb *MessageGroupBy) String(ctx context.Context) (_ string, err error) + func (mgb *MessageGroupBy) StringX(ctx context.Context) string + func (mgb *MessageGroupBy) Strings(ctx context.Context) ([]string, error) + func (mgb *MessageGroupBy) StringsX(ctx context.Context) []string + type MessageMutation struct + func (m *MessageMutation) AddField(name string, value ent.Value) error + func (m *MessageMutation) AddFlagIDs(ids ...int) + func (m *MessageMutation) AddSize(i int) + func (m *MessageMutation) AddUIDIDs(ids ...int) + func (m *MessageMutation) AddedEdges() []string + func (m *MessageMutation) AddedField(name string) (ent.Value, bool) + func (m *MessageMutation) AddedFields() []string + func (m *MessageMutation) AddedIDs(name string) []ent.Value + func (m *MessageMutation) AddedSize() (r int, exists bool) + func (m *MessageMutation) Body() (r string, exists bool) + func (m *MessageMutation) BodyStructure() (r string, exists bool) + func (m *MessageMutation) ClearEdge(name string) error + func (m *MessageMutation) ClearField(name string) error + func (m *MessageMutation) ClearFlags() + func (m *MessageMutation) ClearUIDs() + func (m *MessageMutation) ClearedEdges() []string + func (m *MessageMutation) ClearedFields() []string + func (m *MessageMutation) Date() (r time.Time, exists bool) + func (m *MessageMutation) EdgeCleared(name string) bool + func (m *MessageMutation) Envelope() (r string, exists bool) + func (m *MessageMutation) Field(name string) (ent.Value, bool) + func (m *MessageMutation) FieldCleared(name string) bool + func (m *MessageMutation) Fields() []string + func (m *MessageMutation) FlagsCleared() bool + func (m *MessageMutation) FlagsIDs() (ids []int) + func (m *MessageMutation) ID() (id int, exists bool) + func (m *MessageMutation) IDs(ctx context.Context) ([]int, error) + func (m *MessageMutation) InternalID() (r string, exists bool) + func (m *MessageMutation) MessageID() (r string, exists bool) + func (m *MessageMutation) OldBody(ctx context.Context) (v string, err error) + func (m *MessageMutation) OldBodyStructure(ctx context.Context) (v string, err error) + func (m *MessageMutation) OldDate(ctx context.Context) (v time.Time, err error) + func (m *MessageMutation) OldEnvelope(ctx context.Context) (v string, err error) + func (m *MessageMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *MessageMutation) OldInternalID(ctx context.Context) (v string, err error) + func (m *MessageMutation) OldMessageID(ctx context.Context) (v string, err error) + func (m *MessageMutation) OldSize(ctx context.Context) (v int, err error) + func (m *MessageMutation) Op() Op + func (m *MessageMutation) RemoveFlagIDs(ids ...int) + func (m *MessageMutation) RemoveUIDIDs(ids ...int) + func (m *MessageMutation) RemovedEdges() []string + func (m *MessageMutation) RemovedFlagsIDs() (ids []int) + func (m *MessageMutation) RemovedIDs(name string) []ent.Value + func (m *MessageMutation) RemovedUIDsIDs() (ids []int) + func (m *MessageMutation) ResetBody() + func (m *MessageMutation) ResetBodyStructure() + func (m *MessageMutation) ResetDate() + func (m *MessageMutation) ResetEdge(name string) error + func (m *MessageMutation) ResetEnvelope() + func (m *MessageMutation) ResetField(name string) error + func (m *MessageMutation) ResetFlags() + func (m *MessageMutation) ResetInternalID() + func (m *MessageMutation) ResetMessageID() + func (m *MessageMutation) ResetSize() + func (m *MessageMutation) ResetUIDs() + func (m *MessageMutation) SetBody(s string) + func (m *MessageMutation) SetBodyStructure(s string) + func (m *MessageMutation) SetDate(t time.Time) + func (m *MessageMutation) SetEnvelope(s string) + func (m *MessageMutation) SetField(name string, value ent.Value) error + func (m *MessageMutation) SetInternalID(s string) + func (m *MessageMutation) SetMessageID(s string) + func (m *MessageMutation) SetSize(i int) + func (m *MessageMutation) Size() (r int, exists bool) + func (m *MessageMutation) Type() string + func (m *MessageMutation) UIDsCleared() bool + func (m *MessageMutation) UIDsIDs() (ids []int) + func (m *MessageMutation) Where(ps ...predicate.Message) + func (m MessageMutation) Client() *Client + func (m MessageMutation) Tx() (*Tx, error) + type MessageQuery struct + func (mq *MessageQuery) All(ctx context.Context) ([]*Message, error) + func (mq *MessageQuery) AllX(ctx context.Context) []*Message + func (mq *MessageQuery) Clone() *MessageQuery + func (mq *MessageQuery) Count(ctx context.Context) (int, error) + func (mq *MessageQuery) CountX(ctx context.Context) int + func (mq *MessageQuery) Exist(ctx context.Context) (bool, error) + func (mq *MessageQuery) ExistX(ctx context.Context) bool + func (mq *MessageQuery) First(ctx context.Context) (*Message, error) + func (mq *MessageQuery) FirstID(ctx context.Context) (id int, err error) + func (mq *MessageQuery) FirstIDX(ctx context.Context) int + func (mq *MessageQuery) FirstX(ctx context.Context) *Message + func (mq *MessageQuery) GroupBy(field string, fields ...string) *MessageGroupBy + func (mq *MessageQuery) IDs(ctx context.Context) ([]int, error) + func (mq *MessageQuery) IDsX(ctx context.Context) []int + func (mq *MessageQuery) Limit(limit int) *MessageQuery + func (mq *MessageQuery) Offset(offset int) *MessageQuery + func (mq *MessageQuery) Only(ctx context.Context) (*Message, error) + func (mq *MessageQuery) OnlyID(ctx context.Context) (id int, err error) + func (mq *MessageQuery) OnlyIDX(ctx context.Context) int + func (mq *MessageQuery) OnlyX(ctx context.Context) *Message + func (mq *MessageQuery) Order(o ...OrderFunc) *MessageQuery + func (mq *MessageQuery) QueryFlags() *MessageFlagQuery + func (mq *MessageQuery) QueryUIDs() *UIDQuery + func (mq *MessageQuery) Select(fields ...string) *MessageSelect + func (mq *MessageQuery) Unique(unique bool) *MessageQuery + func (mq *MessageQuery) Where(ps ...predicate.Message) *MessageQuery + func (mq *MessageQuery) WithFlags(opts ...func(*MessageFlagQuery)) *MessageQuery + func (mq *MessageQuery) WithUIDs(opts ...func(*UIDQuery)) *MessageQuery + type MessageSelect struct + func (ms *MessageSelect) Bool(ctx context.Context) (_ bool, err error) + func (ms *MessageSelect) BoolX(ctx context.Context) bool + func (ms *MessageSelect) Bools(ctx context.Context) ([]bool, error) + func (ms *MessageSelect) BoolsX(ctx context.Context) []bool + func (ms *MessageSelect) Float64(ctx context.Context) (_ float64, err error) + func (ms *MessageSelect) Float64X(ctx context.Context) float64 + func (ms *MessageSelect) Float64s(ctx context.Context) ([]float64, error) + func (ms *MessageSelect) Float64sX(ctx context.Context) []float64 + func (ms *MessageSelect) Int(ctx context.Context) (_ int, err error) + func (ms *MessageSelect) IntX(ctx context.Context) int + func (ms *MessageSelect) Ints(ctx context.Context) ([]int, error) + func (ms *MessageSelect) IntsX(ctx context.Context) []int + func (ms *MessageSelect) Scan(ctx context.Context, v interface{}) error + func (ms *MessageSelect) ScanX(ctx context.Context, v interface{}) + func (ms *MessageSelect) String(ctx context.Context) (_ string, err error) + func (ms *MessageSelect) StringX(ctx context.Context) string + func (ms *MessageSelect) Strings(ctx context.Context) ([]string, error) + func (ms *MessageSelect) StringsX(ctx context.Context) []string + type MessageUpdate struct + func (mu *MessageUpdate) AddFlagIDs(ids ...int) *MessageUpdate + func (mu *MessageUpdate) AddFlags(m ...*MessageFlag) *MessageUpdate + func (mu *MessageUpdate) AddSize(i int) *MessageUpdate + func (mu *MessageUpdate) AddUIDIDs(ids ...int) *MessageUpdate + func (mu *MessageUpdate) AddUIDs(u ...*UID) *MessageUpdate + func (mu *MessageUpdate) ClearFlags() *MessageUpdate + func (mu *MessageUpdate) ClearUIDs() *MessageUpdate + func (mu *MessageUpdate) Exec(ctx context.Context) error + func (mu *MessageUpdate) ExecX(ctx context.Context) + func (mu *MessageUpdate) Mutation() *MessageMutation + func (mu *MessageUpdate) RemoveFlagIDs(ids ...int) *MessageUpdate + func (mu *MessageUpdate) RemoveFlags(m ...*MessageFlag) *MessageUpdate + func (mu *MessageUpdate) RemoveUIDIDs(ids ...int) *MessageUpdate + func (mu *MessageUpdate) RemoveUIDs(u ...*UID) *MessageUpdate + func (mu *MessageUpdate) Save(ctx context.Context) (int, error) + func (mu *MessageUpdate) SaveX(ctx context.Context) int + func (mu *MessageUpdate) SetBody(s string) *MessageUpdate + func (mu *MessageUpdate) SetBodyStructure(s string) *MessageUpdate + func (mu *MessageUpdate) SetDate(t time.Time) *MessageUpdate + func (mu *MessageUpdate) SetEnvelope(s string) *MessageUpdate + func (mu *MessageUpdate) SetInternalID(s string) *MessageUpdate + func (mu *MessageUpdate) SetMessageID(s string) *MessageUpdate + func (mu *MessageUpdate) SetSize(i int) *MessageUpdate + func (mu *MessageUpdate) Where(ps ...predicate.Message) *MessageUpdate + type MessageUpdateOne struct + func (muo *MessageUpdateOne) AddFlagIDs(ids ...int) *MessageUpdateOne + func (muo *MessageUpdateOne) AddFlags(m ...*MessageFlag) *MessageUpdateOne + func (muo *MessageUpdateOne) AddSize(i int) *MessageUpdateOne + func (muo *MessageUpdateOne) AddUIDIDs(ids ...int) *MessageUpdateOne + func (muo *MessageUpdateOne) AddUIDs(u ...*UID) *MessageUpdateOne + func (muo *MessageUpdateOne) ClearFlags() *MessageUpdateOne + func (muo *MessageUpdateOne) ClearUIDs() *MessageUpdateOne + func (muo *MessageUpdateOne) Exec(ctx context.Context) error + func (muo *MessageUpdateOne) ExecX(ctx context.Context) + func (muo *MessageUpdateOne) Mutation() *MessageMutation + func (muo *MessageUpdateOne) RemoveFlagIDs(ids ...int) *MessageUpdateOne + func (muo *MessageUpdateOne) RemoveFlags(m ...*MessageFlag) *MessageUpdateOne + func (muo *MessageUpdateOne) RemoveUIDIDs(ids ...int) *MessageUpdateOne + func (muo *MessageUpdateOne) RemoveUIDs(u ...*UID) *MessageUpdateOne + func (muo *MessageUpdateOne) Save(ctx context.Context) (*Message, error) + func (muo *MessageUpdateOne) SaveX(ctx context.Context) *Message + func (muo *MessageUpdateOne) Select(field string, fields ...string) *MessageUpdateOne + func (muo *MessageUpdateOne) SetBody(s string) *MessageUpdateOne + func (muo *MessageUpdateOne) SetBodyStructure(s string) *MessageUpdateOne + func (muo *MessageUpdateOne) SetDate(t time.Time) *MessageUpdateOne + func (muo *MessageUpdateOne) SetEnvelope(s string) *MessageUpdateOne + func (muo *MessageUpdateOne) SetInternalID(s string) *MessageUpdateOne + func (muo *MessageUpdateOne) SetMessageID(s string) *MessageUpdateOne + func (muo *MessageUpdateOne) SetSize(i int) *MessageUpdateOne + type Messages []*Message + type MutateFunc = ent.MutateFunc + type Mutation = ent.Mutation + type Mutator = ent.Mutator + type NotFoundError struct + func (e *NotFoundError) Error() string + type NotLoadedError struct + func (e *NotLoadedError) Error() string + type NotSingularError struct + func (e *NotSingularError) Error() string + type Op = ent.Op + type Option func(*config) + func Debug() Option + func Driver(driver dialect.Driver) Option + func Log(fn func(...interface{})) Option + type OrderFunc func(*sql.Selector) + func Asc(fields ...string) OrderFunc + func Desc(fields ...string) OrderFunc + type Policy = ent.Policy + type Query = ent.Query + type RollbackFunc func(context.Context, *Tx) error + func (f RollbackFunc) Rollback(ctx context.Context, tx *Tx) error + type RollbackHook func(Rollbacker) Rollbacker + type Rollbacker interface + Rollback func(context.Context, *Tx) error + type Tx struct + Mailbox *MailboxClient + MailboxAttr *MailboxAttrClient + MailboxFlag *MailboxFlagClient + MailboxPermFlag *MailboxPermFlagClient + Message *MessageClient + MessageFlag *MessageFlagClient + UID *UIDClient + func TxFromContext(ctx context.Context) *Tx + func (tx *Tx) Client() *Client + func (tx *Tx) Commit() error + func (tx *Tx) OnCommit(f CommitHook) + func (tx *Tx) OnRollback(f RollbackHook) + func (tx *Tx) Rollback() error + type UID struct + Deleted bool + Edges UIDEdges + ID int + InDeletionPool bool + Recent bool + UID int + func (u *UID) QueryMailbox() *MailboxQuery + func (u *UID) QueryMessage() *MessageQuery + func (u *UID) String() string + func (u *UID) Unwrap() *UID + func (u *UID) Update() *UIDUpdateOne + type UIDClient struct + func NewUIDClient(c config) *UIDClient + func (c *UIDClient) Create() *UIDCreate + func (c *UIDClient) CreateBulk(builders ...*UIDCreate) *UIDCreateBulk + func (c *UIDClient) Delete() *UIDDelete + func (c *UIDClient) DeleteOne(u *UID) *UIDDeleteOne + func (c *UIDClient) DeleteOneID(id int) *UIDDeleteOne + func (c *UIDClient) Get(ctx context.Context, id int) (*UID, error) + func (c *UIDClient) GetX(ctx context.Context, id int) *UID + func (c *UIDClient) Hooks() []Hook + func (c *UIDClient) Query() *UIDQuery + func (c *UIDClient) QueryMailbox(u *UID) *MailboxQuery + func (c *UIDClient) QueryMessage(u *UID) *MessageQuery + func (c *UIDClient) Update() *UIDUpdate + func (c *UIDClient) UpdateOne(u *UID) *UIDUpdateOne + func (c *UIDClient) UpdateOneID(id int) *UIDUpdateOne + func (c *UIDClient) Use(hooks ...Hook) + type UIDCreate struct + func (uc *UIDCreate) Exec(ctx context.Context) error + func (uc *UIDCreate) ExecX(ctx context.Context) + func (uc *UIDCreate) Mutation() *UIDMutation + func (uc *UIDCreate) Save(ctx context.Context) (*UID, error) + func (uc *UIDCreate) SaveX(ctx context.Context) *UID + func (uc *UIDCreate) SetDeleted(b bool) *UIDCreate + func (uc *UIDCreate) SetInDeletionPool(b bool) *UIDCreate + func (uc *UIDCreate) SetMailbox(m *Mailbox) *UIDCreate + func (uc *UIDCreate) SetMailboxID(id int) *UIDCreate + func (uc *UIDCreate) SetMessage(m *Message) *UIDCreate + func (uc *UIDCreate) SetMessageID(id int) *UIDCreate + func (uc *UIDCreate) SetNillableDeleted(b *bool) *UIDCreate + func (uc *UIDCreate) SetNillableInDeletionPool(b *bool) *UIDCreate + func (uc *UIDCreate) SetNillableMailboxID(id *int) *UIDCreate + func (uc *UIDCreate) SetNillableMessageID(id *int) *UIDCreate + func (uc *UIDCreate) SetNillableRecent(b *bool) *UIDCreate + func (uc *UIDCreate) SetRecent(b bool) *UIDCreate + func (uc *UIDCreate) SetUID(i int) *UIDCreate + type UIDCreateBulk struct + func (ucb *UIDCreateBulk) Exec(ctx context.Context) error + func (ucb *UIDCreateBulk) ExecX(ctx context.Context) + func (ucb *UIDCreateBulk) Save(ctx context.Context) ([]*UID, error) + func (ucb *UIDCreateBulk) SaveX(ctx context.Context) []*UID + type UIDDelete struct + func (ud *UIDDelete) Exec(ctx context.Context) (int, error) + func (ud *UIDDelete) ExecX(ctx context.Context) int + func (ud *UIDDelete) Where(ps ...predicate.UID) *UIDDelete + type UIDDeleteOne struct + func (udo *UIDDeleteOne) Exec(ctx context.Context) error + func (udo *UIDDeleteOne) ExecX(ctx context.Context) + type UIDEdges struct + Mailbox *Mailbox + Message *Message + func (e UIDEdges) MailboxOrErr() (*Mailbox, error) + func (e UIDEdges) MessageOrErr() (*Message, error) + type UIDGroupBy struct + func (ugb *UIDGroupBy) Aggregate(fns ...AggregateFunc) *UIDGroupBy + func (ugb *UIDGroupBy) Bool(ctx context.Context) (_ bool, err error) + func (ugb *UIDGroupBy) BoolX(ctx context.Context) bool + func (ugb *UIDGroupBy) Bools(ctx context.Context) ([]bool, error) + func (ugb *UIDGroupBy) BoolsX(ctx context.Context) []bool + func (ugb *UIDGroupBy) Float64(ctx context.Context) (_ float64, err error) + func (ugb *UIDGroupBy) Float64X(ctx context.Context) float64 + func (ugb *UIDGroupBy) Float64s(ctx context.Context) ([]float64, error) + func (ugb *UIDGroupBy) Float64sX(ctx context.Context) []float64 + func (ugb *UIDGroupBy) Int(ctx context.Context) (_ int, err error) + func (ugb *UIDGroupBy) IntX(ctx context.Context) int + func (ugb *UIDGroupBy) Ints(ctx context.Context) ([]int, error) + func (ugb *UIDGroupBy) IntsX(ctx context.Context) []int + func (ugb *UIDGroupBy) Scan(ctx context.Context, v interface{}) error + func (ugb *UIDGroupBy) ScanX(ctx context.Context, v interface{}) + func (ugb *UIDGroupBy) String(ctx context.Context) (_ string, err error) + func (ugb *UIDGroupBy) StringX(ctx context.Context) string + func (ugb *UIDGroupBy) Strings(ctx context.Context) ([]string, error) + func (ugb *UIDGroupBy) StringsX(ctx context.Context) []string + type UIDMutation struct + func (m *UIDMutation) AddField(name string, value ent.Value) error + func (m *UIDMutation) AddUID(i int) + func (m *UIDMutation) AddedEdges() []string + func (m *UIDMutation) AddedField(name string) (ent.Value, bool) + func (m *UIDMutation) AddedFields() []string + func (m *UIDMutation) AddedIDs(name string) []ent.Value + func (m *UIDMutation) AddedUID() (r int, exists bool) + func (m *UIDMutation) ClearEdge(name string) error + func (m *UIDMutation) ClearField(name string) error + func (m *UIDMutation) ClearMailbox() + func (m *UIDMutation) ClearMessage() + func (m *UIDMutation) ClearedEdges() []string + func (m *UIDMutation) ClearedFields() []string + func (m *UIDMutation) Deleted() (r bool, exists bool) + func (m *UIDMutation) EdgeCleared(name string) bool + func (m *UIDMutation) Field(name string) (ent.Value, bool) + func (m *UIDMutation) FieldCleared(name string) bool + func (m *UIDMutation) Fields() []string + func (m *UIDMutation) ID() (id int, exists bool) + func (m *UIDMutation) IDs(ctx context.Context) ([]int, error) + func (m *UIDMutation) InDeletionPool() (r bool, exists bool) + func (m *UIDMutation) MailboxCleared() bool + func (m *UIDMutation) MailboxID() (id int, exists bool) + func (m *UIDMutation) MailboxIDs() (ids []int) + func (m *UIDMutation) MessageCleared() bool + func (m *UIDMutation) MessageID() (id int, exists bool) + func (m *UIDMutation) MessageIDs() (ids []int) + func (m *UIDMutation) OldDeleted(ctx context.Context) (v bool, err error) + func (m *UIDMutation) OldField(ctx context.Context, name string) (ent.Value, error) + func (m *UIDMutation) OldInDeletionPool(ctx context.Context) (v bool, err error) + func (m *UIDMutation) OldRecent(ctx context.Context) (v bool, err error) + func (m *UIDMutation) OldUID(ctx context.Context) (v int, err error) + func (m *UIDMutation) Op() Op + func (m *UIDMutation) Recent() (r bool, exists bool) + func (m *UIDMutation) RemovedEdges() []string + func (m *UIDMutation) RemovedIDs(name string) []ent.Value + func (m *UIDMutation) ResetDeleted() + func (m *UIDMutation) ResetEdge(name string) error + func (m *UIDMutation) ResetField(name string) error + func (m *UIDMutation) ResetInDeletionPool() + func (m *UIDMutation) ResetMailbox() + func (m *UIDMutation) ResetMessage() + func (m *UIDMutation) ResetRecent() + func (m *UIDMutation) ResetUID() + func (m *UIDMutation) SetDeleted(b bool) + func (m *UIDMutation) SetField(name string, value ent.Value) error + func (m *UIDMutation) SetInDeletionPool(b bool) + func (m *UIDMutation) SetMailboxID(id int) + func (m *UIDMutation) SetMessageID(id int) + func (m *UIDMutation) SetRecent(b bool) + func (m *UIDMutation) SetUID(i int) + func (m *UIDMutation) Type() string + func (m *UIDMutation) UID() (r int, exists bool) + func (m *UIDMutation) Where(ps ...predicate.UID) + func (m UIDMutation) Client() *Client + func (m UIDMutation) Tx() (*Tx, error) + type UIDQuery struct + func (uq *UIDQuery) All(ctx context.Context) ([]*UID, error) + func (uq *UIDQuery) AllX(ctx context.Context) []*UID + func (uq *UIDQuery) Clone() *UIDQuery + func (uq *UIDQuery) Count(ctx context.Context) (int, error) + func (uq *UIDQuery) CountX(ctx context.Context) int + func (uq *UIDQuery) Exist(ctx context.Context) (bool, error) + func (uq *UIDQuery) ExistX(ctx context.Context) bool + func (uq *UIDQuery) First(ctx context.Context) (*UID, error) + func (uq *UIDQuery) FirstID(ctx context.Context) (id int, err error) + func (uq *UIDQuery) FirstIDX(ctx context.Context) int + func (uq *UIDQuery) FirstX(ctx context.Context) *UID + func (uq *UIDQuery) GroupBy(field string, fields ...string) *UIDGroupBy + func (uq *UIDQuery) IDs(ctx context.Context) ([]int, error) + func (uq *UIDQuery) IDsX(ctx context.Context) []int + func (uq *UIDQuery) Limit(limit int) *UIDQuery + func (uq *UIDQuery) Offset(offset int) *UIDQuery + func (uq *UIDQuery) Only(ctx context.Context) (*UID, error) + func (uq *UIDQuery) OnlyID(ctx context.Context) (id int, err error) + func (uq *UIDQuery) OnlyIDX(ctx context.Context) int + func (uq *UIDQuery) OnlyX(ctx context.Context) *UID + func (uq *UIDQuery) Order(o ...OrderFunc) *UIDQuery + func (uq *UIDQuery) QueryMailbox() *MailboxQuery + func (uq *UIDQuery) QueryMessage() *MessageQuery + func (uq *UIDQuery) Select(fields ...string) *UIDSelect + func (uq *UIDQuery) Unique(unique bool) *UIDQuery + func (uq *UIDQuery) Where(ps ...predicate.UID) *UIDQuery + func (uq *UIDQuery) WithMailbox(opts ...func(*MailboxQuery)) *UIDQuery + func (uq *UIDQuery) WithMessage(opts ...func(*MessageQuery)) *UIDQuery + type UIDSelect struct + func (us *UIDSelect) Bool(ctx context.Context) (_ bool, err error) + func (us *UIDSelect) BoolX(ctx context.Context) bool + func (us *UIDSelect) Bools(ctx context.Context) ([]bool, error) + func (us *UIDSelect) BoolsX(ctx context.Context) []bool + func (us *UIDSelect) Float64(ctx context.Context) (_ float64, err error) + func (us *UIDSelect) Float64X(ctx context.Context) float64 + func (us *UIDSelect) Float64s(ctx context.Context) ([]float64, error) + func (us *UIDSelect) Float64sX(ctx context.Context) []float64 + func (us *UIDSelect) Int(ctx context.Context) (_ int, err error) + func (us *UIDSelect) IntX(ctx context.Context) int + func (us *UIDSelect) Ints(ctx context.Context) ([]int, error) + func (us *UIDSelect) IntsX(ctx context.Context) []int + func (us *UIDSelect) Scan(ctx context.Context, v interface{}) error + func (us *UIDSelect) ScanX(ctx context.Context, v interface{}) + func (us *UIDSelect) String(ctx context.Context) (_ string, err error) + func (us *UIDSelect) StringX(ctx context.Context) string + func (us *UIDSelect) Strings(ctx context.Context) ([]string, error) + func (us *UIDSelect) StringsX(ctx context.Context) []string + type UIDUpdate struct + func (uu *UIDUpdate) AddUID(i int) *UIDUpdate + func (uu *UIDUpdate) ClearMailbox() *UIDUpdate + func (uu *UIDUpdate) ClearMessage() *UIDUpdate + func (uu *UIDUpdate) Exec(ctx context.Context) error + func (uu *UIDUpdate) ExecX(ctx context.Context) + func (uu *UIDUpdate) Mutation() *UIDMutation + func (uu *UIDUpdate) Save(ctx context.Context) (int, error) + func (uu *UIDUpdate) SaveX(ctx context.Context) int + func (uu *UIDUpdate) SetDeleted(b bool) *UIDUpdate + func (uu *UIDUpdate) SetInDeletionPool(b bool) *UIDUpdate + func (uu *UIDUpdate) SetMailbox(m *Mailbox) *UIDUpdate + func (uu *UIDUpdate) SetMailboxID(id int) *UIDUpdate + func (uu *UIDUpdate) SetMessage(m *Message) *UIDUpdate + func (uu *UIDUpdate) SetMessageID(id int) *UIDUpdate + func (uu *UIDUpdate) SetNillableDeleted(b *bool) *UIDUpdate + func (uu *UIDUpdate) SetNillableInDeletionPool(b *bool) *UIDUpdate + func (uu *UIDUpdate) SetNillableMailboxID(id *int) *UIDUpdate + func (uu *UIDUpdate) SetNillableMessageID(id *int) *UIDUpdate + func (uu *UIDUpdate) SetNillableRecent(b *bool) *UIDUpdate + func (uu *UIDUpdate) SetRecent(b bool) *UIDUpdate + func (uu *UIDUpdate) SetUID(i int) *UIDUpdate + func (uu *UIDUpdate) Where(ps ...predicate.UID) *UIDUpdate + type UIDUpdateOne struct + func (uuo *UIDUpdateOne) AddUID(i int) *UIDUpdateOne + func (uuo *UIDUpdateOne) ClearMailbox() *UIDUpdateOne + func (uuo *UIDUpdateOne) ClearMessage() *UIDUpdateOne + func (uuo *UIDUpdateOne) Exec(ctx context.Context) error + func (uuo *UIDUpdateOne) ExecX(ctx context.Context) + func (uuo *UIDUpdateOne) Mutation() *UIDMutation + func (uuo *UIDUpdateOne) Save(ctx context.Context) (*UID, error) + func (uuo *UIDUpdateOne) SaveX(ctx context.Context) *UID + func (uuo *UIDUpdateOne) Select(field string, fields ...string) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetDeleted(b bool) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetInDeletionPool(b bool) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetMailbox(m *Mailbox) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetMailboxID(id int) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetMessage(m *Message) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetMessageID(id int) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetNillableDeleted(b *bool) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetNillableInDeletionPool(b *bool) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetNillableMailboxID(id *int) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetNillableMessageID(id *int) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetNillableRecent(b *bool) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetRecent(b bool) *UIDUpdateOne + func (uuo *UIDUpdateOne) SetUID(i int) *UIDUpdateOne + type UIDs []*UID + type ValidationError struct + Name string + func (e *ValidationError) Error() string + func (e *ValidationError) Unwrap() error + type Value = ent.Value