pub struct ResponseBuilder { /* private fields */ }Expand description
Builder for JSON-RPC responses
Implementations§
Source§impl ResponseBuilder
impl ResponseBuilder
Sourcepub fn correlation_id(self, correlation_id: Option<String>) -> Self
pub fn correlation_id(self, correlation_id: Option<String>) -> Self
Set correlation ID
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResponseBuilder
impl RefUnwindSafe for ResponseBuilder
impl Send for ResponseBuilder
impl Sync for ResponseBuilder
impl Unpin for ResponseBuilder
impl UnwindSafe for ResponseBuilder
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