Struct cloudevents::event::EventBuilderV03 [−][src]
pub struct EventBuilderV03 { /* fields omitted */ }Expand description
Builder to create a CloudEvent V0.3
Implementations
pub fn extension(
self,
extension_name: &str,
extension_value: impl Into<ExtensionValue>
) -> Selfpub fn data_with_schema(
self,
datacontenttype: impl Into<String>,
schemaurl: impl TryIntoUrl,
data: impl Into<Data>
) -> SelfTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EventBuilderimpl Send for EventBuilderimpl Sync for EventBuilderimpl Unpin for EventBuilderimpl UnwindSafe for EventBuilderBlanket Implementations
Mutably borrows from an owned value. Read more