code: func (in *Rule) DeepCopyInto(out *Rule) {
  	*out = *in
  	if in.APIGroups != nil {
  		in, out := &in.APIGroups, &out.APIGroups
  		*out = make([]string, len(*in))
  		copy(*out, *in)
  	}
  	if in.APIVersions != nil {
  		in, out := &in.APIVersions, &out.APIVersions
  		*out = make([]string, len(*in))
  		copy(*out, *in)
  	}
  	if in.Resources != nil {
  		in, out := &in.Resources, &out.Resources
  		*out = make([]string, len(*in))
  		copy(*out, *in)
  	}
  	if in.Scope != nil {
  		in, out := &in.Scope, &out.Scope
  		*out = new(ScopeType)
  		**out = **in
  	}
  	return
  }
docs: // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.