Struct fluvio::metadata::tableformat::TableFormatSpec
source · 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 AdminSpec for TableFormatSpec
impl AdminSpec for TableFormatSpec
source§fn convert_from<C>(obj: &MetadataStoreObject<Self, C>) -> Metadata<Self>where
C: MetadataItem,
Metadata<Self>: From<MetadataStoreObject<Self, C>>,
Self::Status: Encoder + Decoder + Debug,
fn convert_from<C>(obj: &MetadataStoreObject<Self, C>) -> Metadata<Self>where
C: MetadataItem,
Metadata<Self>: From<MetadataStoreObject<Self, C>>,
Self::Status: Encoder + Decoder + Debug,
convert metadata object to list type object
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 DeletableAdminSpec for TableFormatSpec
impl DeletableAdminSpec for TableFormatSpec
source§impl<'de> Deserialize<'de> for TableFormatSpec
impl<'de> Deserialize<'de> for TableFormatSpec
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<TableFormatSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TableFormatSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encoder for TableFormatSpec
impl Encoder for TableFormatSpec
source§impl K8ExtendedSpec for TableFormatSpec
impl K8ExtendedSpec for TableFormatSpec
type K8Spec = TableFormatSpec
fn convert_from_k8( k8_obj: K8Obj<<TableFormatSpec as K8ExtendedSpec>::K8Spec>, multi_namespace_context: bool ) -> Result<MetadataStoreObject<TableFormatSpec, K8MetaItem>, K8ConvertError<<TableFormatSpec as K8ExtendedSpec>::K8Spec>>
fn convert_status_from_k8( status: <TableFormatSpec as Spec>::Status ) -> <TableFormatSpec as Spec>::Status
fn into_k8(self) -> <TableFormatSpec as K8ExtendedSpec>::K8Spec
const DELETE_WAIT_DEPENDENTS: bool = false
const FINALIZER: Option<&'static str> = None
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 Serialize for TableFormatSpec
impl Serialize for TableFormatSpec
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl Spec for TableFormatSpec
impl Spec for TableFormatSpec
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 CreatableAdminSpec 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.