pub struct XrpcRequest<P, I>where
I: Serialize,{
pub method: Method,
pub nsid: String,
pub parameters: Option<P>,
pub input: Option<InputDataOrBytes<I>>,
pub encoding: Option<String>,
}Expand description
A request which can be executed with XrpcClient::send_xrpc().
Fields§
§method: Method§nsid: String§parameters: Option<P>§input: Option<InputDataOrBytes<I>>§encoding: Option<String>Auto Trait Implementations§
impl<P, I> Freeze for XrpcRequest<P, I>
impl<P, I> RefUnwindSafe for XrpcRequest<P, I>where
P: RefUnwindSafe,
I: RefUnwindSafe,
impl<P, I> Send for XrpcRequest<P, I>
impl<P, I> Sync for XrpcRequest<P, I>
impl<P, I> Unpin for XrpcRequest<P, I>
impl<P, I> UnwindSafe for XrpcRequest<P, I>where
P: UnwindSafe,
I: UnwindSafe,
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