[−][src]Trait cloudevents::AttributesReader
Trait to get CloudEvents Context attributes.
Required methods
fn get_id(&self) -> &str
Get the id.
fn get_source(&self) -> &Url
Get the source.
fn get_specversion(&self) -> SpecVersion
Get the specversion.
fn get_type(&self) -> &str
Get the type.
fn get_datacontenttype(&self) -> Option<&str>
Get the datacontenttype.
fn get_dataschema(&self) -> Option<&Url>
Get the dataschema.
fn get_subject(&self) -> Option<&str>
Get the subject.
fn get_time(&self) -> Option<&DateTime<Utc>>
Get the time.