pub struct RequestSpecific {
pub requester_id: Id,
pub request_type: RequestTypeSpecific,
}Expand description
An incoming KRPC request, as observed by the local node.
Mostly useful as the input to a custom RequestFilter
when the node is running in server mode.
Fields§
§requester_id: IdThe Id claimed by the node sending the request.
request_type: RequestTypeSpecificThe body of the request, indicating which operation the sender wants performed.
Trait Implementations§
Source§impl Clone for RequestSpecific
impl Clone for RequestSpecific
Source§fn clone(&self) -> RequestSpecific
fn clone(&self) -> RequestSpecific
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RequestSpecific
impl Debug for RequestSpecific
Source§impl PartialEq for RequestSpecific
impl PartialEq for RequestSpecific
Source§fn eq(&self, other: &RequestSpecific) -> bool
fn eq(&self, other: &RequestSpecific) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestSpecific
Auto Trait Implementations§
impl Freeze for RequestSpecific
impl RefUnwindSafe for RequestSpecific
impl Send for RequestSpecific
impl Sync for RequestSpecific
impl Unpin for RequestSpecific
impl UnsafeUnpin for RequestSpecific
impl UnwindSafe for RequestSpecific
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