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