forked from keybase/go-keybase-chat-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
emails.go
42 lines (35 loc) · 1.01 KB
/
emails.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Auto-generated to Go types using avdl-compiler v1.4.6 (https://github.com/malware-unicorn/node-avdl-compiler)
// Input file: ../client/protocol/avdl/keybase1/emails.avdl
package keybase1
type EmailLookupResult struct {
Email EmailAddress `codec:"email" json:"email"`
Uid *UID `codec:"uid,omitempty" json:"uid,omitempty"`
}
func (o EmailLookupResult) DeepCopy() EmailLookupResult {
return EmailLookupResult{
Email: o.Email.DeepCopy(),
Uid: (func(x *UID) *UID {
if x == nil {
return nil
}
tmp := (*x).DeepCopy()
return &tmp
})(o.Uid),
}
}
type EmailAddressVerifiedMsg struct {
Email EmailAddress `codec:"email" json:"email"`
}
func (o EmailAddressVerifiedMsg) DeepCopy() EmailAddressVerifiedMsg {
return EmailAddressVerifiedMsg{
Email: o.Email.DeepCopy(),
}
}
type EmailAddressChangedMsg struct {
Email EmailAddress `codec:"email" json:"email"`
}
func (o EmailAddressChangedMsg) DeepCopy() EmailAddressChangedMsg {
return EmailAddressChangedMsg{
Email: o.Email.DeepCopy(),
}
}