pub enum PropertyConfiguration {
Show 20 variants
Title {
id: PropertyId,
},
Text {
id: PropertyId,
},
Number {
id: PropertyId,
number: NumberDetails,
},
Select {
id: PropertyId,
select: Select,
},
Status {
id: PropertyId,
status: Status,
},
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: PropertyIdRepresents the special Title property required on every database. See https://developers.notion.com/reference/database#title-configuration
Text
Fields
id: PropertyIdRepresents 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
Status
Represents a Status property
MultiSelect
Represents a Multi-select Property See https://developers.notion.com/reference/database#multi-select-configuration
Date
Fields
id: PropertyIdRepresents a Date Property See https://developers.notion.com/reference/database#date-configuration
People
Fields
id: PropertyIdRepresents a People Property See https://developers.notion.com/reference/database#people-configuration
Files
Fields
id: PropertyIdRepresents a File Property See https://developers.notion.com/reference/database#file-configuration
Checkbox
Fields
id: PropertyIdRepresents a Checkbox Property See https://developers.notion.com/reference/database#checkbox-configuration
Url
Fields
id: PropertyIdRepresents a URL Property See https://developers.notion.com/reference/database#url-configuration
Fields
id: PropertyIdRepresents a Email Property See https://developers.notion.com/reference/database#email-configuration
PhoneNumber
Fields
id: PropertyIdRepresents a Phone number Property See https://developers.notion.com/reference/database#phone-number-configuration
Formula
Relation
Rollup
CreatedTime
Fields
id: PropertyIdCreatedBy
Fields
id: PropertyIdLastEditedTime
Fields
id: PropertyIdLastEditBy
Fields
id: PropertyIdTrait Implementations§
source§impl Clone for PropertyConfiguration
impl Clone for PropertyConfiguration
source§fn clone(&self) -> PropertyConfiguration
fn clone(&self) -> PropertyConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PropertyConfiguration
impl Debug for PropertyConfiguration
source§impl<'de> Deserialize<'de> for PropertyConfiguration
impl<'de> Deserialize<'de> for PropertyConfiguration
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>,
source§impl PartialEq<PropertyConfiguration> for PropertyConfiguration
impl PartialEq<PropertyConfiguration> for PropertyConfiguration
source§fn eq(&self, other: &PropertyConfiguration) -> bool
fn eq(&self, other: &PropertyConfiguration) -> bool
self and other values to be equal, and is used
by ==.source§impl Serialize for PropertyConfiguration
impl Serialize for PropertyConfiguration
impl Eq for PropertyConfiguration
impl StructuralEq for PropertyConfiguration
impl StructuralPartialEq for PropertyConfiguration
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§
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.