(src interface{})
| 3780 | ) |
| 3781 | |
| 3782 | func (e *WorkspaceAgentLifecycleState) Scan(src interface{}) error { |
| 3783 | switch s := src.(type) { |
| 3784 | case []byte: |
| 3785 | *e = WorkspaceAgentLifecycleState(s) |
| 3786 | case string: |
| 3787 | *e = WorkspaceAgentLifecycleState(s) |
| 3788 | default: |
| 3789 | return fmt.Errorf("unsupported scan type for WorkspaceAgentLifecycleState: %T", src) |
| 3790 | } |
| 3791 | return nil |
| 3792 | } |
| 3793 | |
| 3794 | type NullWorkspaceAgentLifecycleState struct { |
| 3795 | WorkspaceAgentLifecycleState WorkspaceAgentLifecycleState `json:"workspace_agent_lifecycle_state"` |
nothing calls this directly
no test coverage detected