pub struct DatabaseTable {
pub id: TableId,
pub db_id: MetabaseId,
pub name: String,
pub schema: Option<String>,
pub display_name: String,
pub active: bool,
pub description: Option<String>,
pub entity_type: Option<String>,
pub visibility_type: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
}
Expand description
Represents a table in a database
Fields§
§id: TableId
Unique identifier for the table
db_id: MetabaseId
Database ID this table belongs to
name: String
Table name
schema: Option<String>
Database schema name
display_name: String
Display name for the table
active: bool
Whether the table is active
description: Option<String>
Table description
entity_type: Option<String>
Entity type (e.g., “entity/GenericTable”, “entity/EventTable”)
visibility_type: Option<String>
Visibility type
created_at: Option<DateTime<Utc>>
When the table was created
updated_at: Option<DateTime<Utc>>
When the table was last updated
Trait Implementations§
Source§impl Clone for DatabaseTable
impl Clone for DatabaseTable
Source§fn clone(&self) -> DatabaseTable
fn clone(&self) -> DatabaseTable
Returns a duplicate 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 DatabaseTable
impl Debug for DatabaseTable
Source§impl<'de> Deserialize<'de> for DatabaseTable
impl<'de> Deserialize<'de> for DatabaseTable
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 DatabaseTable
impl PartialEq for DatabaseTable
Source§impl Serialize for DatabaseTable
impl Serialize for DatabaseTable
impl StructuralPartialEq for DatabaseTable
Auto Trait Implementations§
impl Freeze for DatabaseTable
impl RefUnwindSafe for DatabaseTable
impl Send for DatabaseTable
impl Sync for DatabaseTable
impl Unpin for DatabaseTable
impl UnwindSafe for DatabaseTable
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