pub struct RpcMethod {
pub name: String,
pub arguments: Vec<String>,
pub return_type: String,
}
Expand description
rpc method
Fields§
§name: String
Method’s name
arguments: Vec<String>
List of arguments
return_type: String
Return type
Trait Implementations§
impl Eq for RpcMethod
impl StructuralPartialEq for RpcMethod
Auto Trait Implementations§
impl Freeze for RpcMethod
impl RefUnwindSafe for RpcMethod
impl Send for RpcMethod
impl Sync for RpcMethod
impl Unpin for RpcMethod
impl UnwindSafe for RpcMethod
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