Set the source URI
(mut self, source: impl Into<String>)
| 218 | |
| 219 | /// Set the source URI |
| 220 | pub fn with_source(mut self, source: impl Into<String>) -> Self { |
| 221 | self.source = Some(source.into()); |
| 222 | self |
| 223 | } |
| 224 | |
| 225 | /// Add metadata |
| 226 | pub fn with_metadata(mut self, key: impl Into<String>, value: serde_json::Value) -> Self { |
no outgoing calls