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 = UnknownSpecVersionThe type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SpecVersionimpl Send for SpecVersionimpl Sync for SpecVersionimpl Unpin for SpecVersionimpl UnwindSafe for SpecVersionBlanket Implementations
Mutably borrows from an owned value. Read more