Enum cloudevents::event::SpecVersion [−][src]
pub enum SpecVersion { V03, V10, }
Expand description
CloudEvent specification version.
Variants
CloudEvents v0.3
CloudEvents v1.0
Implementations
Returns the string representation of SpecVersion
.
Get all attribute names for this SpecVersion
.
Get all attribute names for all specification versions. Note that the result iterator could contain duplicate entries.
Trait Implementations
type Error = UnknownSpecVersion
type Error = UnknownSpecVersion
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SpecVersion
impl Send for SpecVersion
impl Sync for SpecVersion
impl Unpin for SpecVersion
impl UnwindSafe for SpecVersion
Blanket Implementations
Mutably borrows from an owned value. Read more