Enum notion::models::properties::PropertyConfiguration [−][src]
pub enum PropertyConfiguration {
Show 19 variants
Title {
id: PropertyId,
},
Text {
id: PropertyId,
},
Number {
id: PropertyId,
number: NumberDetails,
},
Select {
id: PropertyId,
select: Select,
},
MultiSelect {
id: PropertyId,
multi_select: Select,
},
Date {
id: PropertyId,
},
People {
id: PropertyId,
},
Files {
id: PropertyId,
},
Checkbox {
id: PropertyId,
},
Url {
id: PropertyId,
},
Email {
id: PropertyId,
},
PhoneNumber {
id: PropertyId,
},
Formula {
id: PropertyId,
formula: Formula,
},
Relation {
id: PropertyId,
relation: Relation,
},
Rollup {
id: PropertyId,
rollup: Rollup,
},
CreatedTime {
id: PropertyId,
},
CreatedBy {
id: PropertyId,
},
LastEditedTime {
id: PropertyId,
},
LastEditBy {
id: PropertyId,
},
}
Variants
Title
Fields
id: PropertyId
Represents the special Title property required on every database. See https://developers.notion.com/reference/database#title-configuration
Text
Fields
id: PropertyId
Represents a Text property https://developers.notion.com/reference/database#text-configuration
Number
Represents a Number Property See https://developers.notion.com/reference/database#number-configuration
Select
Represents a Select Property See https://developers.notion.com/reference/database#select-configuration
MultiSelect
Represents a Multi-select Property See https://developers.notion.com/reference/database#multi-select-configuration
Date
Fields
id: PropertyId
Represents a Date Property See https://developers.notion.com/reference/database#date-configuration
People
Fields
id: PropertyId
Represents a People Property See https://developers.notion.com/reference/database#people-configuration
Files
Fields
id: PropertyId
Represents a File Property See https://developers.notion.com/reference/database#file-configuration
Checkbox
Fields
id: PropertyId
Represents a Checkbox Property See https://developers.notion.com/reference/database#checkbox-configuration
Url
Fields
id: PropertyId
Represents a URL Property See https://developers.notion.com/reference/database#url-configuration
Email
Fields
id: PropertyId
Represents a Email Property See https://developers.notion.com/reference/database#email-configuration
PhoneNumber
Fields
id: PropertyId
Represents a Phone number Property See https://developers.notion.com/reference/database#phone-number-configuration
Formula
Relation
Rollup
CreatedTime
Fields
id: PropertyId
CreatedBy
Fields
id: PropertyId
LastEditedTime
Fields
id: PropertyId
LastEditBy
Fields
id: PropertyId
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PropertyConfiguration
impl Send for PropertyConfiguration
impl Sync for PropertyConfiguration
impl Unpin for PropertyConfiguration
impl UnwindSafe for PropertyConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more