pub struct ResponseHandler {
pub schema: Option<DataType>,
pub sql_command_result: Option<SqlCommandResult>,
pub write_stream_operation_start_result: Option<WriteStreamOperationStartResult>,
pub streaming_query_command_result: Option<StreamingQueryCommandResult>,
pub get_resources_command_result: Option<GetResourcesCommandResult>,
pub streaming_query_manager_command_result: Option<StreamingQueryManagerCommandResult>,
pub result_complete: Option<ResultComplete>,
/* private fields */
}
Fields§
§schema: Option<DataType>
§sql_command_result: Option<SqlCommandResult>
§write_stream_operation_start_result: Option<WriteStreamOperationStartResult>
§streaming_query_command_result: Option<StreamingQueryCommandResult>
§get_resources_command_result: Option<GetResourcesCommandResult>
§streaming_query_manager_command_result: Option<StreamingQueryManagerCommandResult>
§result_complete: Option<ResultComplete>
Trait Implementations§
Source§impl Clone for ResponseHandler
impl Clone for ResponseHandler
Source§fn clone(&self) -> ResponseHandler
fn clone(&self) -> ResponseHandler
Returns a copy 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 moreSource§impl Debug for ResponseHandler
impl Debug for ResponseHandler
Source§impl Default for ResponseHandler
impl Default for ResponseHandler
Source§fn default() -> ResponseHandler
fn default() -> ResponseHandler
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResponseHandler
impl !RefUnwindSafe for ResponseHandler
impl Send for ResponseHandler
impl Sync for ResponseHandler
impl Unpin for ResponseHandler
impl !UnwindSafe for ResponseHandler
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request