pub struct GetXdbcTypeInfoBuilder<'a> {
data_type: Option<i32>,
infos: &'a XdbcTypeInfoData,
}
Expand description
A builder for a CommandGetXdbcTypeInfo
response.
Fields§
§data_type: Option<i32>
§infos: &'a XdbcTypeInfoData
Implementations§
Source§impl GetXdbcTypeInfoBuilder<'_>
impl GetXdbcTypeInfoBuilder<'_>
Sourcepub fn build(self) -> Result<RecordBatch>
pub fn build(self) -> Result<RecordBatch>
Builds a RecordBatch
with the correct schema for a CommandGetXdbcTypeInfo
response
Sourcepub fn schema(&self) -> SchemaRef
pub fn schema(&self) -> SchemaRef
Return the schema of the RecordBatch that will be returned
from CommandGetXdbcTypeInfo
Auto Trait Implementations§
impl<'a> Freeze for GetXdbcTypeInfoBuilder<'a>
impl<'a> !RefUnwindSafe for GetXdbcTypeInfoBuilder<'a>
impl<'a> Send for GetXdbcTypeInfoBuilder<'a>
impl<'a> Sync for GetXdbcTypeInfoBuilder<'a>
impl<'a> Unpin for GetXdbcTypeInfoBuilder<'a>
impl<'a> !UnwindSafe for GetXdbcTypeInfoBuilder<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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