[−][src]Struct cloudevents::event::AttributesV10
Trait Implementations
impl AttributesReader for Attributes
[src]
fn get_id(&self) -> &str
[src]
fn get_source(&self) -> &str
[src]
fn get_specversion(&self) -> SpecVersion
[src]
fn get_type(&self) -> &str
[src]
fn get_datacontenttype(&self) -> Option<&str>
[src]
fn get_dataschema(&self) -> Option<&str>
[src]
fn get_subject(&self) -> Option<&str>
[src]
fn get_time(&self) -> Option<&DateTime<FixedOffset>>
[src]
fn get_extension(&self, extension_name: &str) -> Option<&ExtensionValue>
[src]
fn get_extensions(&self) -> Vec<(&str, &ExtensionValue)>
[src]
impl AttributesWriter for Attributes
[src]
fn set_id(&mut self, id: impl Into<String>)
[src]
fn set_source(&mut self, source: impl Into<String>)
[src]
fn set_type(&mut self, ty: impl Into<String>)
[src]
fn set_subject(&mut self, subject: Option<impl Into<String>>)
[src]
fn set_time(&mut self, time: Option<impl Into<DateTime<FixedOffset>>>)
[src]
fn set_extension<'name, 'event: 'name>(
&'event mut self,
extension_name: &'name str,
extension_value: impl Into<ExtensionValue>
)
[src]
&'event mut self,
extension_name: &'name str,
extension_value: impl Into<ExtensionValue>
)
fn remove_extension<'name, 'event: 'name>(
&'event mut self,
extension_name: &'name str
) -> Option<ExtensionValue>
[src]
&'event mut self,
extension_name: &'name str
) -> Option<ExtensionValue>
impl Default for Attributes
[src]
Auto Trait Implementations
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnwindSafe for Attributes
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,