pub struct RpcRequestEnvelope {
pub api_version: String,
pub id: String,
pub method: String,
pub params: Value,
pub meta: Option<RequestMeta>,
}Fields§
§api_version: String§id: String§method: String§params: Value§meta: Option<RequestMeta>Trait Implementations§
Source§impl Clone for RpcRequestEnvelope
impl Clone for RpcRequestEnvelope
Source§fn clone(&self) -> RpcRequestEnvelope
fn clone(&self) -> RpcRequestEnvelope
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 RpcRequestEnvelope
impl Debug for RpcRequestEnvelope
Source§impl<'de> Deserialize<'de> for RpcRequestEnvelope
impl<'de> Deserialize<'de> for RpcRequestEnvelope
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 RpcRequestEnvelope
impl RefUnwindSafe for RpcRequestEnvelope
impl Send for RpcRequestEnvelope
impl Sync for RpcRequestEnvelope
impl Unpin for RpcRequestEnvelope
impl UnsafeUnpin for RpcRequestEnvelope
impl UnwindSafe for RpcRequestEnvelope
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