message: Docstrings for events
diff: @@ -133,6 +133,7 @@ pub struct Event {
  }
  impl Event {
  + /// Create a new event with the given type and an empty list of attributes.
  pub fn new(kind: impl Into<String>) -> Self {
  Event {
  kind: kind.into(),
  @@ -140,6 +141,7 @@ impl Event {
  }
  }
  + /// Add an attribute to the event.
  pub fn attr(mut self, key: impl Into<String>, value: impl Into<String>) -> Self {
  self.attributes.push(crate::attr(key.into(), value.into()));
  self
  