pub struct OneOffQueryResponseMessage<F: WebsocketFormat> {
pub message_id: Vec<u8>,
pub error: Option<String>,
pub results: Vec<OneOffTable<F>>,
pub total_host_execution_duration: TimeDuration,
}Fields§
§message_id: Vec<u8>§error: Option<String>§results: Vec<OneOffTable<F>>§total_host_execution_duration: TimeDurationTrait Implementations§
Source§impl<F: Debug + WebsocketFormat> Debug for OneOffQueryResponseMessage<F>
impl<F: Debug + WebsocketFormat> Debug for OneOffQueryResponseMessage<F>
Source§impl From<OneOffQueryResponseMessage<BsatnFormat>> for SerializableMessage
impl From<OneOffQueryResponseMessage<BsatnFormat>> for SerializableMessage
Source§fn from(
original: OneOffQueryResponseMessage<BsatnFormat>,
) -> SerializableMessage
fn from( original: OneOffQueryResponseMessage<BsatnFormat>, ) -> SerializableMessage
Converts to this type from the input type.
Source§impl From<OneOffQueryResponseMessage<JsonFormat>> for SerializableMessage
impl From<OneOffQueryResponseMessage<JsonFormat>> for SerializableMessage
Source§fn from(original: OneOffQueryResponseMessage<JsonFormat>) -> SerializableMessage
fn from(original: OneOffQueryResponseMessage<JsonFormat>) -> SerializableMessage
Converts to this type from the input type.
Source§impl ToProtocol for OneOffQueryResponseMessage<BsatnFormat>
impl ToProtocol for OneOffQueryResponseMessage<BsatnFormat>
type Encoded = FormatSwitch<ServerMessage<BsatnFormat>, ServerMessage<JsonFormat>>
Source§fn to_protocol(self, _: Protocol) -> Self::Encoded
fn to_protocol(self, _: Protocol) -> Self::Encoded
Source§impl ToProtocol for OneOffQueryResponseMessage<JsonFormat>
impl ToProtocol for OneOffQueryResponseMessage<JsonFormat>
type Encoded = FormatSwitch<ServerMessage<BsatnFormat>, ServerMessage<JsonFormat>>
Source§fn to_protocol(self, _: Protocol) -> Self::Encoded
fn to_protocol(self, _: Protocol) -> Self::Encoded
Auto Trait Implementations§
impl<F> Freeze for OneOffQueryResponseMessage<F>
impl<F> RefUnwindSafe for OneOffQueryResponseMessage<F>
impl<F> Send for OneOffQueryResponseMessage<F>
impl<F> Sync for OneOffQueryResponseMessage<F>
impl<F> Unpin for OneOffQueryResponseMessage<F>
impl<F> UnwindSafe for OneOffQueryResponseMessage<F>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more