pub struct GetTableTypesBuilder {
table_type: StringBuilder,
}
Expand description
Fields§
§table_type: StringBuilder
Implementations§
Source§impl GetTableTypesBuilder
impl GetTableTypesBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new instance of GetTableTypesBuilder
Sourcepub fn build(self) -> Result<RecordBatch>
pub fn build(self) -> Result<RecordBatch>
builds a RecordBatch
with the correct schema for a CommandGetTableTypes
response
Sourcepub fn schema(&self) -> SchemaRef
pub fn schema(&self) -> SchemaRef
Return the schema of the RecordBatch that will be returned
from CommandGetTableTypes
Trait Implementations§
Source§impl Default for GetTableTypesBuilder
impl Default for GetTableTypesBuilder
Source§fn default() -> GetTableTypesBuilder
fn default() -> GetTableTypesBuilder
Returns the “default value” for a type. Read more
Source§impl From<CommandGetTableTypes> for GetTableTypesBuilder
impl From<CommandGetTableTypes> for GetTableTypesBuilder
Source§fn from(_value: CommandGetTableTypes) -> Self
fn from(_value: CommandGetTableTypes) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetTableTypesBuilder
impl RefUnwindSafe for GetTableTypesBuilder
impl Send for GetTableTypesBuilder
impl Sync for GetTableTypesBuilder
impl Unpin for GetTableTypesBuilder
impl UnwindSafe for GetTableTypesBuilder
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