Struct rustic_jsonrpc::Response
source · pub struct Response<'a> {
pub result: Option<Value>,
pub error: Option<Error>,
pub id: Id<'a>,
/* private fields */
}Expand description
Response Object
Fields§
§result: Option<Value>§error: Option<Error>§id: Id<'a>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Response<'a>
impl<'a> RefUnwindSafe for Response<'a>
impl<'a> Send for Response<'a>
impl<'a> Sync for Response<'a>
impl<'a> Unpin for Response<'a>
impl<'a> UnwindSafe for Response<'a>
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