pub struct RequestEnvelope {
pub body: Request,
pub protocol: ProtocolVersion,
pub timestamp: SystemTime,
}
Fields§
§body: Request
§protocol: ProtocolVersion
§timestamp: SystemTime
Implementations§
Source§impl RequestEnvelope
impl RequestEnvelope
pub fn new(request: impl RequestType) -> Self
Trait Implementations§
Source§impl Debug for RequestEnvelope
impl Debug for RequestEnvelope
Auto Trait Implementations§
impl Freeze for RequestEnvelope
impl RefUnwindSafe for RequestEnvelope
impl Send for RequestEnvelope
impl Sync for RequestEnvelope
impl Unpin for RequestEnvelope
impl UnwindSafe for RequestEnvelope
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