pub struct WorkspaceReference {
pub browser_link: String,
pub id: String,
pub name: Option<String>,
pub organization_id: Option<String>,
pub type_: WorkspaceReferenceType,
}
Expand description
Reference to a Coda workspace.
JSON schema
{
"description": "Reference to a Coda workspace.",
"type": "object",
"required": [
"browserLink",
"id",
"type"
],
"properties": {
"browserLink": {
"description": "Browser-friendly link to the Coda workspace.",
"examples": [
"https://coda.io/docs?workspaceId=ws-1Ab234"
],
"type": "string",
"format": "url"
},
"id": {
"description": "ID of the Coda workspace.",
"examples": [
"ws-1Ab234"
],
"type": "string"
},
"name": {
"description": "Name of the workspace; included if the user has
access to the workspace.",
"examples": [
"My workspace"
],
"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": "WorkspaceReference"
}
Fields§
§browser_link: String
Browser-friendly link to the Coda workspace.
id: String
ID of the Coda workspace.
name: Option<String>
Name of the workspace; included if the user has access to the workspace.
organization_id: Option<String>
ID of the organization bound to this workspace, if any.
type_: WorkspaceReferenceType
The type of this resource.
Trait Implementations§
Source§impl Clone for WorkspaceReference
impl Clone for WorkspaceReference
Source§fn clone(&self) -> WorkspaceReference
fn clone(&self) -> WorkspaceReference
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 WorkspaceReference
impl Debug for WorkspaceReference
Source§impl<'de> Deserialize<'de> for WorkspaceReference
impl<'de> Deserialize<'de> for WorkspaceReference
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<&WorkspaceReference> for WorkspaceReference
impl From<&WorkspaceReference> for WorkspaceReference
Source§fn from(value: &WorkspaceReference) -> Self
fn from(value: &WorkspaceReference) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WorkspaceReference
impl RefUnwindSafe for WorkspaceReference
impl Send for WorkspaceReference
impl Sync for WorkspaceReference
impl Unpin for WorkspaceReference
impl UnwindSafe for WorkspaceReference
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