pub struct CloudEvent {
pub specversion: String,
pub id: String,
pub source: String,
pub event_type: String,
pub time: DateTime<Utc>,
pub subject: String,
pub datacontenttype: String,
pub data: Value,
}Fields§
§specversion: String§id: String§source: String§event_type: String§time: DateTime<Utc>§subject: String§datacontenttype: String§data: ValueTrait Implementations§
Source§impl Clone for CloudEvent
impl Clone for CloudEvent
Source§fn clone(&self) -> CloudEvent
fn clone(&self) -> CloudEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudEvent
impl Debug for CloudEvent
Source§impl<'de> Deserialize<'de> for CloudEvent
impl<'de> Deserialize<'de> for CloudEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CloudEvent
impl RefUnwindSafe for CloudEvent
impl Send for CloudEvent
impl Sync for CloudEvent
impl Unpin for CloudEvent
impl UnsafeUnpin for CloudEvent
impl UnwindSafe for CloudEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more