pub struct Workspace {
pub browser_link: String,
pub description: Option<String>,
pub id: String,
pub name: String,
pub organization_id: Option<String>,
pub type_: WorkspaceType,
}Expand description
Metadata about a Coda workspace.
JSON schema
{
"description": "Metadata about a Coda workspace.",
"type": "object",
"required": [
"browserLink",
"id",
"name",
"type"
],
"properties": {
"browserLink": {
"description": "Browser-friendly link to the Coda workspace.",
"examples": [
"https://coda.io/docs?workspaceId=ws-1Ab234"
],
"type": "string",
"format": "url"
},
"description": {
"description": "Description of the workspace.",
"examples": [
"The central place for our team's knowledge."
],
"type": "string"
},
"id": {
"description": "ID of the Coda workspace.",
"examples": [
"ws-1Ab234"
],
"type": "string"
},
"name": {
"description": "Name of the workspace.",
"examples": [
"coda.io"
],
"type": "string"
},
"organizationId": {
"description": "ID of the organization bound to this workspace, if
any.",
"examples": [
"org-2Bc456"
],
"type": "string"
},
"type": {
"description": "The type of this resource.",
"type": "string",
"enum": [
"workspace"
],
"x-tsType": "Type.Workspace"
}
},
"additionalProperties": false,
"x-schema-name": "Workspace"
}Fields§
§browser_link: StringBrowser-friendly link to the Coda workspace.
description: Option<String>Description of the workspace.
id: StringID of the Coda workspace.
name: StringName of the workspace.
organization_id: Option<String>ID of the organization bound to this workspace, if any.
type_: WorkspaceTypeThe type of this resource.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Workspace
impl<'de> Deserialize<'de> for Workspace
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 Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnwindSafe for Workspace
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