Struct electrum_client::Request [−][src]
pub struct Request<'a> { pub id: usize, pub method: &'a str, pub params: Vec<Param>, // some fields omitted }
Expand description
A request that can be sent to the server
Fields
id: usize
The JSON-RPC request id
method: &'a str
The request method
params: Vec<Param>
The request parameters
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> UnwindSafe for Request<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more