Enum simple_notion::notion_data_base::DataType
source · pub enum DataType {
Show 22 variants
Title(String),
URL(String),
Text(String),
Number(f64),
Files(Vec<NotionFile>),
Select(String),
MultiSelect(Vec<String>),
CheckBox(bool),
EMail(String),
Status(String),
People(Vec<String>),
Date(NotionDate),
CreatedBy(String),
Formula(NotionFormula),
PhoneNumber(String),
Relation(NotionRelation),
Rollup(Vec<JsonValue>),
CreatedTime(String),
LastEditedTime(String),
LastEditedBy(String),
Uknown,
Null(String),
}Variants§
Title(String)
URL(String)
Text(String)
Number(f64)
Files(Vec<NotionFile>)
Select(String)
MultiSelect(Vec<String>)
CheckBox(bool)
EMail(String)
Status(String)
People(Vec<String>)
Date(NotionDate)
CreatedBy(String)
Formula(NotionFormula)
PhoneNumber(String)
Relation(NotionRelation)
Rollup(Vec<JsonValue>)
CreatedTime(String)
LastEditedTime(String)
LastEditedBy(String)
Uknown
Null(String)
Null & return the type-name of the element