Struct SessionReply
pub struct SessionReply {
pub status: u16,
pub body: Value,
}Expand description
A rendered session reply: status + JSON body, shaped ON the engine thread (replies have
several shapes — begin’s session-or-absorbed, query’s {cols, rows} — so the engine
shapes them and the server’s completion path only writes the socket).
Fields§
§status: u16§body: ValueTrait Implementations§
§impl Clone for SessionReply
impl Clone for SessionReply
§fn clone(&self) -> SessionReply
fn clone(&self) -> SessionReply
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SessionReply
impl RefUnwindSafe for SessionReply
impl Send for SessionReply
impl Sync for SessionReply
impl Unpin for SessionReply
impl UnsafeUnpin for SessionReply
impl UnwindSafe for SessionReply
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