pub struct FormulaReference {
pub href: String,
pub id: String,
pub name: String,
pub parent: Option<PageReference>,
pub type_: FormulaReferenceType,
}
Expand description
Reference to a formula.
JSON schema
{
"description": "Reference to a formula.",
"type": "object",
"required": [
"href",
"id",
"name",
"type"
],
"properties": {
"href": {
"description": "API link to the formula.",
"examples": [
"https://coda.io/apis/v1/docs/AbCDeFGH/formulas/f-fgHijkLm"
],
"type": "string",
"format": "url"
},
"id": {
"description": "ID of the formula.",
"examples": [
"f-fgHijkLm"
],
"type": "string"
},
"name": {
"description": "Name of the formula.",
"examples": [
"Sum of expenses"
],
"type": "string"
},
"parent": {
"$ref": "#/components/schemas/PageReference"
},
"type": {
"description": "The type of this resource.",
"type": "string",
"enum": [
"formula"
],
"x-tsType": "Type.Formula"
}
},
"additionalProperties": false,
"x-schema-name": "FormulaReference"
}
Fields§
§href: String
API link to the formula.
id: String
ID of the formula.
name: String
Name of the formula.
parent: Option<PageReference>
§type_: FormulaReferenceType
The type of this resource.
Trait Implementations§
Source§impl Clone for FormulaReference
impl Clone for FormulaReference
Source§fn clone(&self) -> FormulaReference
fn clone(&self) -> FormulaReference
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 FormulaReference
impl Debug for FormulaReference
Source§impl<'de> Deserialize<'de> for FormulaReference
impl<'de> Deserialize<'de> for FormulaReference
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<&FormulaReference> for FormulaReference
impl From<&FormulaReference> for FormulaReference
Source§fn from(value: &FormulaReference) -> Self
fn from(value: &FormulaReference) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FormulaReference
impl RefUnwindSafe for FormulaReference
impl Send for FormulaReference
impl Sync for FormulaReference
impl Unpin for FormulaReference
impl UnwindSafe for FormulaReference
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