(src interface{})
| 2048 | ) |
| 2049 | |
| 2050 | func (e *InboxNotificationReadStatus) Scan(src interface{}) error { |
| 2051 | switch s := src.(type) { |
| 2052 | case []byte: |
| 2053 | *e = InboxNotificationReadStatus(s) |
| 2054 | case string: |
| 2055 | *e = InboxNotificationReadStatus(s) |
| 2056 | default: |
| 2057 | return fmt.Errorf("unsupported scan type for InboxNotificationReadStatus: %T", src) |
| 2058 | } |
| 2059 | return nil |
| 2060 | } |
| 2061 | |
| 2062 | type NullInboxNotificationReadStatus struct { |
| 2063 | InboxNotificationReadStatus InboxNotificationReadStatus `json:"inbox_notification_read_status"` |
nothing calls this directly
no test coverage detected