go-lemmy/types/email_verification.gen.go

18 lines
837 B
Go
Raw Normal View History

// Source: lemmy/crates/db_schema/src/source/email_verification.rs
2023-04-21 02:27:38 +00:00
// Code generated by go.elara.ws/go-lemmy/cmd/gen (struct generator). DO NOT EDIT.
2023-01-07 22:45:01 +00:00
package types
type EmailVerification struct {
ID int32 `json:"id" url:"id,omitempty"`
LocalUserID int `json:"local_user_id" url:"local_user_id,omitempty"`
Email string `json:"email" url:"email,omitempty"`
VerificationCode string `json:"verification_code" url:"verification_code,omitempty"`
Published LemmyTime `json:"published" url:"published,omitempty"`
}
type EmailVerificationForm struct {
LocalUserID int `json:"local_user_id" url:"local_user_id,omitempty"`
Email string `json:"email" url:"email,omitempty"`
VerificationToken string `json:"verification_token" url:"verification_token,omitempty"`
}