pub struct CatalogTable {
pub name: String,
pub comment: Option<String>,
pub columns: Vec<CatalogColumn>,
pub partition_by: Vec<String>,
pub cluster_by: Vec<String>,
pub distinct: CatalogDistinct,
pub retention_days: Option<i32>,
pub storage: Option<Value>,
}Expand description
A complete table definition. Omitted collections are empty and omitted optional fields are cleared. Storage is accepted only at creation.
Fields§
§name: String§comment: Option<String>§columns: Vec<CatalogColumn>§partition_by: Vec<String>§cluster_by: Vec<String>§distinct: CatalogDistinct§retention_days: Option<i32>§storage: Option<Value>Trait Implementations§
Source§impl Clone for CatalogTable
impl Clone for CatalogTable
Source§impl Debug for CatalogTable
impl Debug for CatalogTable
Source§impl Default for CatalogTable
impl Default for CatalogTable
Source§impl<'de> Deserialize<'de> for CatalogTable
impl<'de> Deserialize<'de> for CatalogTable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CatalogTable
impl PartialEq for CatalogTable
Source§impl Serialize for CatalogTable
impl Serialize for CatalogTable
impl StructuralPartialEq for CatalogTable
Auto Trait Implementations§
impl Freeze for CatalogTable
impl RefUnwindSafe for CatalogTable
impl Send for CatalogTable
impl Sync for CatalogTable
impl Unpin for CatalogTable
impl UnsafeUnpin for CatalogTable
impl UnwindSafe for CatalogTable
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