code: func (t *ResourceTimeout) DiffEncode(id *terraform.InstanceDiff) error {
  	return t.metaEncode(id)
  }
docs: // DiffEncode, StateEncode, and MetaDecode are analogous to the Go stdlib JSONEncoder
  // interface: they encode/decode a timeouts struct from an instance diff, which is
  // where the timeout data is stored after a diff to pass into Apply.
  //
  // StateEncode encodes the timeout into the ResourceData's InstanceState for
  // saving to state
  //