pub struct Table {Show 16 fields
pub browser_link: String,
pub created_at: DateTime<Utc>,
pub display_column: ColumnReference,
pub filter: Option<TableFilter>,
pub href: String,
pub id: String,
pub layout: Layout,
pub name: String,
pub parent: PageReference,
pub parent_table: Option<TableReference>,
pub row_count: i64,
pub sorts: Vec<Sort>,
pub table_type: TableTypeEnum,
pub type_: TableType,
pub updated_at: DateTime<Utc>,
pub view_id: Value,
}
Expand description
Metadata about a table.
JSON schema
{
"description": "Metadata about a table.",
"type": "object",
"required": [
"browserLink",
"createdAt",
"displayColumn",
"href",
"id",
"layout",
"name",
"parent",
"rowCount",
"sorts",
"tableType",
"type",
"updatedAt",
"viewId"
],
"properties": {
"browserLink": {
"description": "Browser-friendly link to the table.",
"examples": [
"https://coda.io/d/_dAbCDeFGH/#Teams-and-Tasks_tpqRst-U"
],
"type": "string",
"format": "url"
},
"createdAt": {
"description": "Timestamp for when the table was created.",
"examples": [
"2018-04-11T00:18:57.946Z"
],
"type": "string",
"format": "date-time"
},
"displayColumn": {
"$ref": "#/components/schemas/ColumnReference"
},
"filter": {
"allOf": [
{
"description": "Detailed information about the filter formula
for the table, if applicable.",
"additionalProperties": false
},
{
"$ref": "#/components/schemas/FormulaDetail"
}
]
},
"href": {
"description": "API link to the table.",
"examples": [
"https://coda.io/apis/v1/docs/AbCDeFGH/tables/grid-pqRst-U"
],
"type": "string",
"format": "url"
},
"id": {
"description": "ID of the table.",
"examples": [
"grid-pqRst-U"
],
"type": "string"
},
"layout": {
"$ref": "#/components/schemas/Layout"
},
"name": {
"description": "Name of the table.",
"examples": [
"Tasks"
],
"type": "string"
},
"parent": {
"$ref": "#/components/schemas/PageReference"
},
"parentTable": {
"$ref": "#/components/schemas/TableReference"
},
"rowCount": {
"description": "Total number of rows in the table.",
"examples": [
130
],
"type": "integer"
},
"sorts": {
"description": "Any sorts applied to the table.",
"type": "array",
"items": {
"$ref": "#/components/schemas/Sort"
}
},
"tableType": {
"$ref": "#/components/schemas/TableTypeEnum"
},
"type": {
"description": "The type of this resource.",
"type": "string",
"enum": [
"table"
],
"x-tsType": "Type.Table"
},
"updatedAt": {
"description": "Timestamp for when the table was last modified.",
"examples": [
"2018-04-11T00:18:57.946Z"
],
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false,
"x-schema-name": "Table"
}
Fields§
§browser_link: String
Browser-friendly link to the table.
created_at: DateTime<Utc>
Timestamp for when the table was created.
display_column: ColumnReference
§filter: Option<TableFilter>
§href: String
API link to the table.
id: String
ID of the table.
layout: Layout
§name: String
Name of the table.
parent: PageReference
§parent_table: Option<TableReference>
§row_count: i64
Total number of rows in the table.
sorts: Vec<Sort>
Any sorts applied to the table.
table_type: TableTypeEnum
§type_: TableType
The type of this resource.
updated_at: DateTime<Utc>
Timestamp for when the table was last modified.
view_id: Value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Table
impl<'de> Deserialize<'de> for Table
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
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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