pub struct TableReference {
pub browser_link: String,
pub href: String,
pub id: String,
pub name: String,
pub parent: Option<PageReference>,
pub table_type: TableTypeEnum,
pub type_: TableReferenceType,
}Expand description
Reference to a table or view.
JSON schema
{
"description": "Reference to a table or view.",
"type": "object",
"required": [
"browserLink",
"href",
"id",
"name",
"tableType",
"type"
],
"properties": {
"browserLink": {
"description": "Browser-friendly link to the table.",
"examples": [
"https://coda.io/d/_dAbCDeFGH/#Teams-and-Tasks_tpqRst-U"
],
"type": "string",
"format": "url"
},
"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"
},
"name": {
"description": "Name of the table.",
"examples": [
"Tasks"
],
"type": "string"
},
"parent": {
"$ref": "#/components/schemas/PageReference"
},
"tableType": {
"$ref": "#/components/schemas/TableTypeEnum"
},
"type": {
"description": "The type of this resource.",
"type": "string",
"enum": [
"table"
],
"x-tsType": "Type.Table"
}
},
"additionalProperties": false,
"x-schema-name": "TableReference"
}Fields§
§browser_link: StringBrowser-friendly link to the table.
href: StringAPI link to the table.
id: StringID of the table.
name: StringName of the table.
parent: Option<PageReference>§table_type: TableTypeEnum§type_: TableReferenceTypeThe type of this resource.
Trait Implementations§
Source§impl Clone for TableReference
impl Clone for TableReference
Source§fn clone(&self) -> TableReference
fn clone(&self) -> TableReference
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 TableReference
impl Debug for TableReference
Source§impl<'de> Deserialize<'de> for TableReference
impl<'de> Deserialize<'de> for TableReference
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 From<&TableReference> for TableReference
impl From<&TableReference> for TableReference
Source§fn from(value: &TableReference) -> Self
fn from(value: &TableReference) -> Self
Converts to this type from the input type.
Source§impl PaginatedResponse<TableReference> for TableList
impl PaginatedResponse<TableReference> for TableList
fn items(&self) -> &Vec<TableReference>
fn next_page_token(&self) -> Option<&NextPageToken>
fn into_items(self) -> Vec<TableReference>
Auto Trait Implementations§
impl Freeze for TableReference
impl RefUnwindSafe for TableReference
impl Send for TableReference
impl Sync for TableReference
impl Unpin for TableReference
impl UnwindSafe for TableReference
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