[−][src]Struct cloudevents::EventBuilderV03
Builder to create a CloudEvent V0.3
Implementations
impl EventBuilder[src]
pub fn id(mut self: Self, id: impl Into<String>) -> Self[src]
pub fn source(mut self: Self, source: impl TryIntoUrl) -> Self[src]
pub fn ty(mut self: Self, ty: impl Into<String>) -> Self[src]
pub fn subject(mut self: Self, subject: impl Into<String>) -> Self[src]
pub fn time(mut self: Self, time: impl TryIntoTime) -> Self[src]
pub fn extension(
mut self: Self,
extension_name: &str,
extension_value: impl Into<ExtensionValue>
) -> Self[src]
mut self: Self,
extension_name: &str,
extension_value: impl Into<ExtensionValue>
) -> Self
pub fn data(
mut self: Self,
datacontenttype: impl Into<String>,
data: impl Into<Data>
) -> Self[src]
mut self: Self,
datacontenttype: impl Into<String>,
data: impl Into<Data>
) -> Self
pub fn data_with_schema(
mut self: Self,
datacontenttype: impl Into<String>,
schemaurl: impl TryIntoUrl,
data: impl Into<Data>
) -> Self[src]
mut self: Self,
datacontenttype: impl Into<String>,
schemaurl: impl TryIntoUrl,
data: impl Into<Data>
) -> Self
Trait Implementations
impl Clone for EventBuilder[src]
pub fn clone(&self) -> EventBuilder[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for EventBuilder[src]
impl Default for EventBuilder[src]
impl EventBuilder for EventBuilder[src]
impl From<Event> for EventBuilder[src]
Auto Trait Implementations
impl RefUnwindSafe for EventBuilder[src]
impl Send for EventBuilder[src]
impl Sync for EventBuilder[src]
impl Unpin for EventBuilder[src]
impl UnwindSafe for EventBuilder[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,