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: usizeThe JSON-RPC request id
method: &'a strThe 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