[][src]Trait cloudevents::AttributesReader

pub trait AttributesReader {
    fn get_id(&self) -> &str;
fn get_source(&self) -> &Url;
fn get_specversion(&self) -> SpecVersion;
fn get_type(&self) -> &str;
fn get_datacontenttype(&self) -> Option<&str>;
fn get_dataschema(&self) -> Option<&Url>;
fn get_subject(&self) -> Option<&str>;
fn get_time(&self) -> Option<&DateTime<Utc>>; }

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.

Loading content...

Implementors

impl AttributesReader for cloudevents::event::Attributes[src]

impl AttributesReader for cloudevents::event::AttributesV03[src]

impl AttributesReader for cloudevents::event::AttributesV10[src]

impl AttributesReader for Event[src]

Loading content...