Struct jsonrpsee_types::response::Success
source · pub struct Success<'a, T> {
pub jsonrpc: Option<TwoPointZero>,
pub result: T,
pub id: Id<'a>,
}
Expand description
Fields§
§jsonrpc: Option<TwoPointZero>
JSON-RPC version.
result: T
Result.
id: Id<'a>
Request ID
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Success<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for Success<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Success<'a, T>where
T: Send,
impl<'a, T> Sync for Success<'a, T>where
T: Sync,
impl<'a, T> Unpin for Success<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for Success<'a, 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