pub struct OpEnvelope {
pub op_id: String,
pub thread_id: ThreadId,
pub session_id: SessionId,
pub op: Op,
}Expand description
Every Op is paired with the ids that route it. This is the
Op-in half of the Op-in / EventMsg-out contract.
Fields§
§op_id: StringMonotonic op:<n> for dedup / tracing within a session.
thread_id: ThreadId§session_id: SessionId§op: OpTrait Implementations§
Source§impl Clone for OpEnvelope
impl Clone for OpEnvelope
Source§fn clone(&self) -> OpEnvelope
fn clone(&self) -> OpEnvelope
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 OpEnvelope
impl Debug for OpEnvelope
Source§impl<'de> Deserialize<'de> for OpEnvelope
impl<'de> Deserialize<'de> for OpEnvelope
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 OpEnvelope
impl RefUnwindSafe for OpEnvelope
impl Send for OpEnvelope
impl Sync for OpEnvelope
impl Unpin for OpEnvelope
impl UnsafeUnpin for OpEnvelope
impl UnwindSafe for OpEnvelope
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