Struct jsonrpc_client::RpcRequest [−][src]
pub struct RpcRequest<P> where
P: Serialize, { /* fields omitted */ }
Methods
impl RpcRequest<()>
[src]
impl RpcRequest<()>
pub fn new0(version: JsonRpcVersion, id: &str, method: &str) -> RpcRequest<()>
[src]
pub fn new0(version: JsonRpcVersion, id: &str, method: &str) -> RpcRequest<()>
pub fn new1<A>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A
) -> RpcRequest<Vec<A>> where
A: Serialize,
[src]
pub fn new1<A>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A
) -> RpcRequest<Vec<A>> where
A: Serialize,
pub fn new2<A, B>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A,
second: B
) -> RpcRequest<(A, B)> where
A: Serialize,
B: Serialize,
[src]
pub fn new2<A, B>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A,
second: B
) -> RpcRequest<(A, B)> where
A: Serialize,
B: Serialize,
pub fn new3<A, B, C>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A,
second: B,
third: C
) -> RpcRequest<(A, B, C)> where
A: Serialize,
B: Serialize,
C: Serialize,
[src]
pub fn new3<A, B, C>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A,
second: B,
third: C
) -> RpcRequest<(A, B, C)> where
A: Serialize,
B: Serialize,
C: Serialize,
pub fn new4<A, B, C, D>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A,
second: B,
third: C,
fourth: D
) -> RpcRequest<(A, B, C, D)> where
A: Serialize,
B: Serialize,
C: Serialize,
D: Serialize,
[src]
pub fn new4<A, B, C, D>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A,
second: B,
third: C,
fourth: D
) -> RpcRequest<(A, B, C, D)> where
A: Serialize,
B: Serialize,
C: Serialize,
D: Serialize,
pub fn new5<A, B, C, D, E>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A,
second: B,
third: C,
fourth: D,
fifth: E
) -> RpcRequest<(A, B, C, D, E)> where
A: Serialize,
B: Serialize,
C: Serialize,
D: Serialize,
E: Serialize,
[src]
pub fn new5<A, B, C, D, E>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A,
second: B,
third: C,
fourth: D,
fifth: E
) -> RpcRequest<(A, B, C, D, E)> where
A: Serialize,
B: Serialize,
C: Serialize,
D: Serialize,
E: Serialize,
pub fn new6<A, B, C, D, E, F>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A,
second: B,
third: C,
fourth: D,
fifth: E,
sixth: F
) -> RpcRequest<(A, B, C, D, E, F)> where
A: Serialize,
B: Serialize,
C: Serialize,
D: Serialize,
E: Serialize,
F: Serialize,
[src]
pub fn new6<A, B, C, D, E, F>(
version: JsonRpcVersion,
id: &str,
method: &str,
first: A,
second: B,
third: C,
fourth: D,
fifth: E,
sixth: F
) -> RpcRequest<(A, B, C, D, E, F)> where
A: Serialize,
B: Serialize,
C: Serialize,
D: Serialize,
E: Serialize,
F: Serialize,
Trait Implementations
impl<P: Debug> Debug for RpcRequest<P> where
P: Serialize,
[src]
impl<P: Debug> Debug for RpcRequest<P> where
P: Serialize,
Auto Trait Implementations
impl<P> Send for RpcRequest<P> where
P: Send,
impl<P> Send for RpcRequest<P> where
P: Send,
impl<P> Sync for RpcRequest<P> where
P: Sync,
impl<P> Sync for RpcRequest<P> where
P: Sync,