pub struct TableFormatSpec {
pub name: String,
pub input_format: Option<DataFormat>,
pub columns: Option<Vec<TableFormatColumnConfig>>,
pub smartmodule: Option<String>,
}
Fields
name: String
input_format: Option<DataFormat>
columns: Option<Vec<TableFormatColumnConfig>>
smartmodule: Option<String>
Implementations
sourceimpl TableFormatSpec
impl TableFormatSpec
pub fn get_primary_keys(&self) -> Vec<String>
Trait Implementations
sourceimpl Clone for TableFormatSpec
impl Clone for TableFormatSpec
sourcefn clone(&self) -> TableFormatSpec
fn clone(&self) -> TableFormatSpec
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TableFormatSpec
impl Debug for TableFormatSpec
sourceimpl Decoder for TableFormatSpec
impl Decoder for TableFormatSpec
sourceimpl Default for TableFormatSpec
impl Default for TableFormatSpec
sourcefn default() -> TableFormatSpec
fn default() -> TableFormatSpec
Returns the “default value” for a type. Read more
sourceimpl Encoder for TableFormatSpec
impl Encoder for TableFormatSpec
sourceimpl PartialEq<TableFormatSpec> for TableFormatSpec
impl PartialEq<TableFormatSpec> for TableFormatSpec
sourcefn eq(&self, other: &TableFormatSpec) -> bool
fn eq(&self, other: &TableFormatSpec) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TableFormatSpec) -> bool
fn ne(&self, other: &TableFormatSpec) -> bool
This method tests for !=
.
sourceimpl Removable for TableFormatSpec
impl Removable for TableFormatSpec
sourceimpl Spec for TableFormatSpec
impl Spec for TableFormatSpec
const LABEL: &'static str = "TableFormat"
type Status = TableFormatStatus
type Owner = TableFormatSpec
type IndexKey = String
sourceimpl SpecExt for TableFormatSpec
impl SpecExt for TableFormatSpec
const OBJECT_TYPE: ObjectType = ObjectType::TableFormat
impl Creatable for TableFormatSpec
impl StructuralPartialEq for TableFormatSpec
Auto Trait Implementations
impl RefUnwindSafe for TableFormatSpec
impl Send for TableFormatSpec
impl Sync for TableFormatSpec
impl Unpin for TableFormatSpec
impl UnwindSafe for TableFormatSpec
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more