Trait cloudevents::event::AttributesReader[][src]

pub trait AttributesReader {
    fn id(&self) -> &str;
fn source(&self) -> &UriReference;
fn specversion(&self) -> SpecVersion;
fn ty(&self) -> &str;
fn datacontenttype(&self) -> Option<&str>;
fn dataschema(&self) -> Option<&Url>;
fn subject(&self) -> Option<&str>;
fn time(&self) -> Option<&DateTime<Utc>>; }
Expand description

Required methods

Get the id.

Get the source.

Get the specversion.

Get the type.

Get the datacontenttype.

Get the dataschema.

Get the subject.

Get the time.

Implementors