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§
source§impl TableFormatSpec
impl TableFormatSpec
pub fn get_primary_keys(&self) -> Vec<String>
Trait Implementations§
source§impl Clone for TableFormatSpec
impl Clone for TableFormatSpec
source§fn clone(&self) -> TableFormatSpec
fn clone(&self) -> TableFormatSpec
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 TableFormatSpec
impl Debug for TableFormatSpec
source§impl Decoder for TableFormatSpec
impl Decoder for TableFormatSpec
source§impl Default for TableFormatSpec
impl Default for TableFormatSpec
source§fn default() -> TableFormatSpec
fn default() -> TableFormatSpec
Returns the “default value” for a type. Read more
source§impl Encoder for TableFormatSpec
impl Encoder for TableFormatSpec
source§impl PartialEq for TableFormatSpec
impl PartialEq for TableFormatSpec
source§fn 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 ==
.source§impl Spec for TableFormatSpec
impl Spec for TableFormatSpec
source§impl SpecExt for TableFormatSpec
impl SpecExt for TableFormatSpec
const OBJECT_TYPE: ObjectType = ObjectType::TableFormat
impl Creatable for TableFormatSpec
impl Eq for TableFormatSpec
impl StructuralPartialEq for TableFormatSpec
Auto Trait Implementations§
impl Freeze for TableFormatSpec
impl RefUnwindSafe for TableFormatSpec
impl Send for TableFormatSpec
impl Sync for TableFormatSpec
impl Unpin for TableFormatSpec
impl UnwindSafe for TableFormatSpec
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.