pub fn metadata(self, payload: Bytes) -> EventData {
        EventData {
            custom_metadata: Some(payload),
            ..self
        }
    }
/// Assigns a raw binary metadata to this event.
Assigns a raw binary metadata to this event.
Assigns a raw binary metadata to this event .
pub fn metadata(self, payload: Bytes) -> EventData {
        EventData {
            custom_metadata: Some(payload),
            ..self
        }
    }
pub fn metadata ( self , payload : Bytes ) -> EventData { EventData { custom_metadata : Some ( payload ) , .. self } }
Assigns a raw binary metadata to this event.
Assigns a raw binary metadata to this event .
self
payload
Bytes
self
payload
Bytes