risingwave_common::catalog::schema

Trait FieldLike

source
pub trait FieldLike {
    // Required methods
    fn data_type(&self) -> &DataType;
    fn name(&self) -> &str;
}
Expand description

Something that has a data type and a name.

Required Methods§

source

fn data_type(&self) -> &DataType

source

fn name(&self) -> &str

Implementations on Foreign Types§

source§

impl<'a, T: 'a + FieldLike + ?Sized> FieldLike for &'a T

source§

fn data_type(&self) -> &DataType

source§

fn name(&self) -> &str

Implementors§