pub struct Row {
pub browser_link: String,
pub created_at: DateTime<Utc>,
pub href: String,
pub id: String,
pub index: i64,
pub name: String,
pub type_: RowType,
pub updated_at: DateTime<Utc>,
pub values: HashMap<String, CellValue>,
}
Expand description
Info about a row.
JSON schema
{
"description": "Info about a row.",
"type": "object",
"required": [
"browserLink",
"createdAt",
"href",
"id",
"index",
"name",
"type",
"updatedAt",
"values"
],
"properties": {
"browserLink": {
"description": "Browser-friendly link to the row.",
"examples": [
"https://coda.io/d/_dAbCDeFGH#Teams-and-Tasks_tpqRst-U/_rui-tuVwxYz"
],
"type": "string",
"format": "url"
},
"createdAt": {
"description": "Timestamp for when the row was created.",
"examples": [
"2018-04-11T00:18:57.946Z"
],
"type": "string",
"format": "date-time"
},
"href": {
"description": "API link to the row.",
"examples": [
"https://coda.io/apis/v1/docs/AbCDeFGH/tables/grid-pqRst-U/rows/i-RstUv-W"
],
"type": "string",
"format": "url"
},
"id": {
"description": "ID of the row.",
"examples": [
"i-tuVwxYz"
],
"type": "string"
},
"index": {
"description": "Index of the row within the table.",
"examples": [
7
],
"type": "integer"
},
"name": {
"description": "The display name of the row, based on its
identifying column.",
"examples": [
"Apple"
],
"type": "string"
},
"type": {
"description": "The type of this resource.",
"type": "string",
"enum": [
"row"
],
"x-tsType": "Type.Row"
},
"updatedAt": {
"description": "Timestamp for when the row was last modified.",
"examples": [
"2018-04-11T00:18:57.946Z"
],
"type": "string",
"format": "date-time"
},
"values": {
"description": "Values for a specific row, represented as a hash of
column IDs (or names with `useColumnNames`) to values.\n",
"examples": [
{
"c-bCdeFgh": [
"$12.34",
"$56.78"
],
"c-tuVwxYz": "Apple"
}
],
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/CellValue"
}
}
},
"additionalProperties": false,
"x-schema-name": "Row"
}
Fields§
§browser_link: String
Browser-friendly link to the row.
created_at: DateTime<Utc>
Timestamp for when the row was created.
href: String
API link to the row.
id: String
ID of the row.
index: i64
Index of the row within the table.
name: String
The display name of the row, based on its identifying column.
type_: RowType
The type of this resource.
updated_at: DateTime<Utc>
Timestamp for when the row was last modified.
values: HashMap<String, CellValue>
Values for a specific row, represented as a hash of column IDs (or
names with useColumnNames
) to values.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Row
impl<'de> Deserialize<'de> for Row
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 Row
impl RefUnwindSafe for Row
impl Send for Row
impl Sync for Row
impl Unpin for Row
impl UnwindSafe for Row
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