pub struct CommandResponse<T>where
T: Debug,{
pub id: CallId,
pub result: T,
pub method: MethodId,
}Expand description
A generic, successful, response of a request where the result has been
serialized into the Command::Response type.
Fields§
§id: CallId§result: T§method: MethodIdTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for CommandResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for CommandResponse<T>where
T: RefUnwindSafe,
impl<T> Send for CommandResponse<T>where
T: Send,
impl<T> Sync for CommandResponse<T>where
T: Sync,
impl<T> Unpin for CommandResponse<T>where
T: Unpin,
impl<T> UnwindSafe for CommandResponse<T>where
T: 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