pub struct EventFrame {
pub schema: ProtocolSchema,
pub ownership: OwnershipScope,
pub payload: EventPayload,
}Fields§
§schema: ProtocolSchema§ownership: OwnershipScope§payload: EventPayloadImplementations§
Source§impl EventFrame
impl EventFrame
pub fn new(ownership: OwnershipScope, payload: EventPayload) -> Self
Trait Implementations§
Source§impl Clone for EventFrame
impl Clone for EventFrame
Source§fn clone(&self) -> EventFrame
fn clone(&self) -> EventFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventFrame
impl Debug for EventFrame
Source§impl<'de> Deserialize<'de> for EventFrame
impl<'de> Deserialize<'de> for EventFrame
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
impl Eq for EventFrame
Source§impl PartialEq for EventFrame
impl PartialEq for EventFrame
Source§fn eq(&self, other: &EventFrame) -> bool
fn eq(&self, other: &EventFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventFrame
impl Serialize for EventFrame
impl StructuralPartialEq for EventFrame
Auto Trait Implementations§
impl Freeze for EventFrame
impl RefUnwindSafe for EventFrame
impl Send for EventFrame
impl Sync for EventFrame
impl Unpin for EventFrame
impl UnsafeUnpin for EventFrame
impl UnwindSafe for EventFrame
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