Struct cloudevents::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>
) -> Self
pub fn data_with_schema(
self,
datacontenttype: impl Into<String>,
schemaurl: impl TryIntoUrl,
data: impl Into<Data>
) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EventBuilder
impl Send for EventBuilder
impl Sync for EventBuilder
impl Unpin for EventBuilder
impl UnwindSafe for EventBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more