pub struct Folder {
pub created_at: DateTime<Utc>,
pub description: Option<String>,
pub icon: Option<Icon>,
pub id: String,
pub name: String,
pub type_: FolderType,
pub workspace_id: String,
}Expand description
A Coda folder.
JSON schema
{
"description": "A Coda folder.",
"type": "object",
"required": [
"createdAt",
"id",
"name",
"type",
"workspaceId"
],
"properties": {
"createdAt": {
"description": "Timestamp for when the folder was created.",
"examples": [
"2018-04-11T00:18:57.946Z"
],
"type": "string",
"format": "date-time"
},
"description": {
"description": "The description of the folder.",
"examples": [
"A collection of project docs."
],
"type": "string"
},
"icon": {
"$ref": "#/components/schemas/Icon"
},
"id": {
"description": "ID of the Coda folder.",
"examples": [
"fl-1Ab234"
],
"type": "string"
},
"name": {
"description": "The name of the folder.",
"examples": [
"Projects"
],
"type": "string"
},
"type": {
"description": "The type of this resource.",
"type": "string",
"enum": [
"folder"
],
"x-tsType": "Type.Folder"
},
"workspaceId": {
"description": "ID of the Coda workspace.",
"examples": [
"ws-1Ab234"
],
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "Folder"
}Fields§
§created_at: DateTime<Utc>Timestamp for when the folder was created.
description: Option<String>The description of the folder.
icon: Option<Icon>§id: StringID of the Coda folder.
name: StringThe name of the folder.
type_: FolderTypeThe type of this resource.
workspace_id: StringID of the Coda workspace.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Folder
impl<'de> Deserialize<'de> for Folder
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 Folder
impl RefUnwindSafe for Folder
impl Send for Folder
impl Sync for Folder
impl Unpin for Folder
impl UnwindSafe for Folder
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