pub struct GetCatalogsBuilder {
catalogs: Vec<String>,
}
Expand description
Fields§
§catalogs: Vec<String>
Implementations§
Source§impl GetCatalogsBuilder
impl GetCatalogsBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new instance of GetCatalogsBuilder
Sourcepub fn build(self) -> Result<RecordBatch>
pub fn build(self) -> Result<RecordBatch>
builds a RecordBatch
with the correct schema for a
CommandGetCatalogs
response
Sourcepub fn schema(&self) -> SchemaRef
pub fn schema(&self) -> SchemaRef
Returns the schema that will result from CommandGetCatalogs
Trait Implementations§
Source§impl Default for GetCatalogsBuilder
impl Default for GetCatalogsBuilder
Source§impl From<CommandGetCatalogs> for GetCatalogsBuilder
impl From<CommandGetCatalogs> for GetCatalogsBuilder
Source§fn from(_: CommandGetCatalogs) -> Self
fn from(_: CommandGetCatalogs) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetCatalogsBuilder
impl RefUnwindSafe for GetCatalogsBuilder
impl Send for GetCatalogsBuilder
impl Sync for GetCatalogsBuilder
impl Unpin for GetCatalogsBuilder
impl UnwindSafe for GetCatalogsBuilder
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