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
Represents the special Title property required on every database. See https://developers.notion.com/reference/database#title-configuration
Fields
id: PropertyIdText
Represents a Text property https://developers.notion.com/reference/database#text-configuration
Fields
id: PropertyIdNumber
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
Represents a Date Property See https://developers.notion.com/reference/database#date-configuration
Fields
id: PropertyIdPeople
Represents a People Property See https://developers.notion.com/reference/database#people-configuration
Fields
id: PropertyIdFiles
Represents a File Property See https://developers.notion.com/reference/database#file-configuration
Fields
id: PropertyIdCheckbox
Represents a Checkbox Property See https://developers.notion.com/reference/database#checkbox-configuration
Fields
id: PropertyIdUrl
Represents 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
Fields
id: PropertyIdPhoneNumber
Represents a Phone number Property See https://developers.notion.com/reference/database#phone-number-configuration
Fields
id: PropertyIdFormula
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 for PropertyConfiguration
impl PartialEq for PropertyConfiguration
Source§impl Serialize for PropertyConfiguration
impl Serialize for PropertyConfiguration
impl Eq for PropertyConfiguration
impl StructuralPartialEq for PropertyConfiguration
Auto Trait Implementations§
impl Freeze for PropertyConfiguration
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.