pub struct PageReference {
pub browser_link: String,
pub href: String,
pub id: String,
pub name: String,
pub type_: PageReferenceType,
}
Expand description
Reference to a page.
JSON schema
{
"description": "Reference to a page.",
"type": "object",
"required": [
"browserLink",
"href",
"id",
"name",
"type"
],
"properties": {
"browserLink": {
"description": "Browser-friendly link to the page.",
"examples": [
"https://coda.io/d/_dAbCDeFGH/Launch-Status_sumnO"
],
"type": "string",
"format": "url"
},
"href": {
"description": "API link to the page.",
"examples": [
"https://coda.io/apis/v1/docs/AbCDeFGH/pages/canvas-IjkLmnO"
],
"type": "string",
"format": "url"
},
"id": {
"description": "ID of the page.",
"examples": [
"canvas-IjkLmnO"
],
"type": "string"
},
"name": {
"description": "Name of the page.",
"examples": [
"Launch Status"
],
"type": "string"
},
"type": {
"description": "The type of this resource.",
"type": "string",
"enum": [
"page"
],
"x-tsType": "Type.Page"
}
},
"additionalProperties": false,
"x-schema-name": "PageReference"
}
Fields§
§browser_link: String
Browser-friendly link to the page.
href: String
API link to the page.
id: String
ID of the page.
name: String
Name of the page.
type_: PageReferenceType
The type of this resource.
Trait Implementations§
Source§impl Clone for PageReference
impl Clone for PageReference
Source§fn clone(&self) -> PageReference
fn clone(&self) -> PageReference
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 PageReference
impl Debug for PageReference
Source§impl<'de> Deserialize<'de> for PageReference
impl<'de> Deserialize<'de> for PageReference
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<&PageReference> for PageReference
impl From<&PageReference> for PageReference
Source§fn from(value: &PageReference) -> Self
fn from(value: &PageReference) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PageReference
impl RefUnwindSafe for PageReference
impl Send for PageReference
impl Sync for PageReference
impl Unpin for PageReference
impl UnwindSafe for PageReference
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