pub struct Envelope {
pub seq: u64,
pub ts_millis: i64,
pub direction: Direction,
pub kind: MsgKind,
pub rpc_id: Option<JsonRpcId>,
pub method: Option<Arc<str>>,
pub thread_id: Option<Arc<str>>,
pub turn_id: Option<Arc<str>>,
pub item_id: Option<Arc<str>>,
pub json: Arc<Value>,
}Fields§
§seq: u64§ts_millis: i64§direction: Direction§kind: MsgKind§rpc_id: Option<JsonRpcId>§method: Option<Arc<str>>§thread_id: Option<Arc<str>>§turn_id: Option<Arc<str>>§item_id: Option<Arc<str>>§json: Arc<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Envelope
impl<'de> Deserialize<'de> for Envelope
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 StructuralPartialEq for Envelope
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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