Struct atrium_xrpc::XrpcRequest
source · pub struct XrpcRequest<P, I>where
I: Serialize,{
pub method: Method,
pub path: 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
§path: String
§parameters: Option<P>
§input: Option<InputDataOrBytes<I>>
§encoding: Option<String>
Auto Trait Implementations§
impl<P, I> RefUnwindSafe for XrpcRequest<P, I>where
I: RefUnwindSafe,
P: 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
I: UnwindSafe,
P: 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