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