pub struct RpcParameter {
pub name: String,
pub bytes: Vec<u8>,
}Expand description
One parameter of an RPC call: a name and its already-encoded type and value.
Fields§
§name: String§bytes: Vec<u8>TYPE_INFO followed by TYPE_VARBYTE, as types::encode produces.
Trait Implementations§
Source§impl Clone for RpcParameter
impl Clone for RpcParameter
Auto Trait Implementations§
impl Freeze for RpcParameter
impl RefUnwindSafe for RpcParameter
impl Send for RpcParameter
impl Sync for RpcParameter
impl Unpin for RpcParameter
impl UnsafeUnpin for RpcParameter
impl UnwindSafe for RpcParameter
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