code: def derive_value(self, value):
          
          return IonEvent(
              self.event_type,
              self.ion_type,
              value,
              self.field_name,
              self.annotations,
              self.depth
          )
docs: Derives a new event from this one setting the ``value`` attribute.
  
          Args:
              value: (any):
                  The value associated with the derived event.
  
          Returns:
              IonEvent: The newly generated non-thunk event.