Struct jsonrpc_core::types::response::Success
source · pub struct Success {
pub jsonrpc: Option<Version>,
pub result: Value,
pub id: Id,
}
Expand description
Successful response
Fields§
§jsonrpc: Option<Version>
Protocol version
result: Value
Result
id: Id
Correlation id
Trait Implementations§
source§impl<'de> Deserialize<'de> for Success
impl<'de> Deserialize<'de> for Success
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Success> for Success
impl PartialEq<Success> for Success
impl StructuralPartialEq for Success
Auto Trait Implementations§
impl RefUnwindSafe for Success
impl Send for Success
impl Sync for Success
impl Unpin for Success
impl UnwindSafe for Success
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