pub struct Request {
pub method: String,
pub request_id: String,
pub batch: RecordBatch,
pub metadata: Arc<Metadata>,
}Expand description
A request batch parsed from the wire.
Fields§
§method: String§request_id: String§batch: RecordBatch§metadata: Arc<Metadata>Request-level custom metadata. Held behind an Arc so the dispatch
path can hand a shared, cheap-to-clone reference to the CallContext
and (when enabled) the DispatchInfo without deep-copying the map.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Request
impl !UnwindSafe for Request
impl Freeze for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
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