(src interface{})
| 939 | ) |
| 940 | |
| 941 | func (e *AppSharingLevel) Scan(src interface{}) error { |
| 942 | switch s := src.(type) { |
| 943 | case []byte: |
| 944 | *e = AppSharingLevel(s) |
| 945 | case string: |
| 946 | *e = AppSharingLevel(s) |
| 947 | default: |
| 948 | return fmt.Errorf("unsupported scan type for AppSharingLevel: %T", src) |
| 949 | } |
| 950 | return nil |
| 951 | } |
| 952 | |
| 953 | type NullAppSharingLevel struct { |
| 954 | AppSharingLevel AppSharingLevel `json:"app_sharing_level"` |
nothing calls this directly
no test coverage detected