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
Source§fn clone(&self) -> RpcParameter
fn clone(&self) -> RpcParameter
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 moreAuto 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