pub struct InvalidRequest<'a> {
pub id: Id<'a>,
}
Expand description
JSON-RPC Invalid request as defined in the spec.
Fields§
§id: Id<'a>
Request ID
Trait Implementations§
source§impl<'a> Debug for InvalidRequest<'a>
impl<'a> Debug for InvalidRequest<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for InvalidRequest<'a>
impl<'de: 'a, 'a> Deserialize<'de> for InvalidRequest<'a>
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<'a> PartialEq for InvalidRequest<'a>
impl<'a> PartialEq for InvalidRequest<'a>
impl<'a> Eq for InvalidRequest<'a>
impl<'a> StructuralPartialEq for InvalidRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for InvalidRequest<'a>
impl<'a> RefUnwindSafe for InvalidRequest<'a>
impl<'a> Send for InvalidRequest<'a>
impl<'a> Sync for InvalidRequest<'a>
impl<'a> Unpin for InvalidRequest<'a>
impl<'a> UnwindSafe for InvalidRequest<'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