struct WireEnvelope {
tag: String,
payload: Option<Value>,
request_id: Option<RequestId>,
response_to: Option<RequestId>,
}Fields§
§tag: String§payload: Option<Value>§request_id: Option<RequestId>§response_to: Option<RequestId>Implementations§
Source§impl WireEnvelope
impl WireEnvelope
fn into_envelope(self) -> Option<Envelope>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WireEnvelope
impl<'de> Deserialize<'de> for WireEnvelope
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 WireEnvelope
impl RefUnwindSafe for WireEnvelope
impl Send for WireEnvelope
impl Sync for WireEnvelope
impl Unpin for WireEnvelope
impl UnsafeUnpin for WireEnvelope
impl UnwindSafe for WireEnvelope
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